Timeline for How can I find out a list of available $string values for user_access($string) function?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 15, 2020 at 9:13 | history | edited | CommunityBot | Commonmark migration | |
| Oct 2, 2015 at 6:25 | history | rollback | E Y | Rollback to Revision 1 | |
| S Oct 1, 2015 at 20:50 | history | suggested | texas-bronius | CC BY-SA 3.0 | Adds simple drush cli to provide quickest access to this functions output in a useful way |
| Oct 1, 2015 at 19:17 | review | Suggested edits | |||
| S Oct 1, 2015 at 20:50 | |||||
| Apr 28, 2015 at 10:41 | comment | added | aross | If you wrap it in array_keys() you obviously get only the requested information. You can then also use the result in user_role_grant_permissions, for example to grant the admin role all permissions: user_role_grant_permissions(variable_get("user_admin_role"), array_keys(user_permission_get_modules())); | |
| Apr 7, 2014 at 13:05 | history | answered | E Y | CC BY-SA 3.0 |