Timeline for how can I get a list of all of the permissions a user has?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 13, 2017 at 14:40 | history | edited | Oleg Videnov | CC BY-SA 3.0 |
added another example
|
Mar 13, 2017 at 14:30 | comment | added | Oleg Videnov | Yes @tenken, you are correct. I saw in the question $current_user, so I assumed we are talking about the currently logged in user. #TODO, add a script for loading different user. | |
Mar 13, 2017 at 14:29 | vote | accept | Diana | ||
Mar 13, 2017 at 14:27 | comment | added | tenken | This will get the current logged in user, not any user. But, in theory the script/snippet could be modified to load a specific user by their id and then view the role permissions they have. | |
Mar 13, 2017 at 14:27 | history | edited | Oleg Videnov | CC BY-SA 3.0 |
added snippet
|
Mar 13, 2017 at 14:16 | history | answered | Oleg Videnov | CC BY-SA 3.0 |