See this already made project, perhaps you guys can unite in the effort:
https://drupal.org/project/drush_role

Comments

sokrplare’s picture

Cross-posted this in the drush_role issue queue (#2109917: Duplicate efforts?).

sokrplare’s picture

Also of note for D6 is permissions_api which provides full drush integration. The downside is it's an actual module you'd need to enable on your site. The upside is this one actually worked for me with Drush on Windows for a massive D6 site. The drush command documentation is outdated (most of the options are now arguments), but gives you an overview of the available commands.

lolandese’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Seems that functionality of https://drupal.org/project/drush_role went into Drush itself. See https://github.com/drush-ops/drush/blob/6.x/commands/core/role.drush.inc. This is however not the case with the functionality provided by Drush Permissions thus continuing as a separate project.

Role commands (Drush 6+): (role)

  • role-add-perm (rap) Grant specified permission(s) to a role.
  • role-remove-perm (rmp) Remove specified permission(s) from a role.