New answers tagged permissions
Think about the User as a key, and the permissions as a value. Different contexts might have different permissions for each user. As the permissions are context-relevant, you would have to change the user for each context. So it's better you put that logic somewhere else (e.g. the context class), and just look up the permissions where needed. A ...
Top 50 recent answers are included