What are the Slack Archives?
Itโs a history of our time together in the Slack Community! Thereโs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonโt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
*User Roles* What are the best practices for setting up user roles in Spryker? It's unclear to me if
User Roles
What are the best practices for setting up user roles in Spryker? It's unclear to me if permissions are additive or subtractive and what the best practice is here. In many of the examples in the training, Rule 1 was allowing access to everything, then restricting access to other modules. Should I start with allowing access to everything and restricting modules from there? I took the Back Office training and looked at the documentation... haven't seen any advice on this.
Comments
-
permissions are additive
0 -
The paid training examples are also restrictive, starting with allowing permissions to everything.
0 -
Is there a posibility to create a Zed user with only Read permissions?
0 -
Possible yes, but not easily done. Unless that has changed you are giving access to controller actions so the question is what is a read only access. You would need to define a role, modify the ZED so that it displays UI as read only and remove actions/buttons. Then you would need to check identity and permissions on each action. You might also want to be even more fine grained and allow editing/viewing of some fields but not the others. All this is custom project level work.
0 -
Thanks, I imagined that would be the answer, "project level" solution. Thanks for the help.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 77 Spryker News
- 938 Developer Corner
- 795 Spryker Development
- 90 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 27 Job Opportunities
- 3.2K ๐ Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random