Skip to content

Best practise for assigning roles vs permissions? #2331

Answered by salamwaddah
guestisp asked this question in Q&A
Discussion options

You must be logged in to vote

My understanding from your description of the writer is that a user should be able to write-read. My approach is to either

  • Create a reader role and directly attach the writing permissions to specific users (I prefer this)
  • Create separate reader with read only, writer with read-write << I understand you're trying to avoid many roles

In general, like documentation suggest you should be checking against permissions so either approaches won't matter.

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 guestisp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants