drush role:perm:removefor drush 9x

Remove specified permission(s) from a role.

drush role:perm:remove

  • Aliases

    role:perm:remove has 2 alias/es:

    drush rmp

    drush role-remove-perm

  • Arguments

    role:perm:remove accepts 2 argument/s:

    machine_name* : The role to modify.

    permissions* : The list of permission to grant, delimited by commas.

  • Options

    role:perm:remove accepts 4 option/s:


    --cache-clear : cache-clear


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    Hide content from anon users.

    drush role:remove-perm anonymous 'access content'

  • Comments

    comments powered by Disqus