drush role-remove-perm

Remove specified permission(s) from a role.

Drush Command

drush role-remove-perm

Arguments

role : The role to modify.
permissions : The list of permission to grant, delimited by commas. Required, unless the --module option is used.

Aliases

drush rmp

Options

--module : Select the permission to modify from an interactive list of all permissions available in the specified module.

Examples

Hide content from anon users.

drush role-remove-perm 'anonymous user' 'access content'