Permissions: Hide/Show List Items in Dropdown
I have a component and I would like to use a dropdown menu. However, I want to hide certain options for the Author user group.
Admin should see:
- Brown
- Yellow
- Purple
- Blue
But an author should only see:
- Brown
- Yellow
How can I incorporate the access controls at the script level for a specific tab inside a component?