Skip to content

Dropdown options based on the user access/role #15317

Answered by mikesealey
KKshitiz asked this question in Help
Discussion options

You must be logged in to vote

Hey @KKshitiz

This is super fun, because it involves some of the new v3 features!

Firstly, in the Data Tab, under Manage Roles, I've created the role of "Sales", which I think you've already done.

I've thrown together a quick stock-take of my shop

This is where it starts to get fun: Click "Create a view" and name it something relevant.

In the view, set the Access to the Sales role, and set the availability to Read Only (you may also wish to set other columns as read only).

What we've done so far means that component that accepts a data source (Data Provider, Table, Repeater Block, etc) will see the Sales_View as a data source as well. If you create a page that is specific to Sales, an…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mikesealey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #15288 on January 07, 2025 14:51.