drush role-remove-permfor drush 8x

Remove specified permission(s) from a role.

drush role-remove-perm

  • Aliases

    role-remove-perm has 1 alias/es:

    drush rmp

  • Arguments

    role-remove-perm accepts 2 argument/s:

    role : The role to modify.

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

  • Options

    role-remove-perm accepts 1 option/s:

    --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'

  • Comments

    comments powered by Disqus