Role Scoping for NextGen Gallery

Role Scoper has made a lot of progress in dishing out permissions for WordPress Posts and Pages any way you want to slice them.  Today marks the opening of a new horizon: content-specific roles for your 3rd party plugins.  What better target for this first invasive procedure than NextGen Gallery, the most popular plugin whose source code has been like a reference guide to me?

Now, with Role Scoping for NextGen Gallery, you can control Gallery editing access on a gallery-specific or album-specific basis.  Or, assign desired users or groups a blog-wide General Role of “Gallery Author”, “Gallery Editor” or “Gallery Administrator” to avoid the need to edit your WordPress role definitions or assignments.

Last tested compatibility: RS-NGG 1.0.2, WP 3.2.1, NextGEN Gallery 1.8.2, Role Scoper 1.3.42

Although Role Scoper’s plugin API documentation is currently lacking, other plugin developers can learn most of what they need by reviewing the RS for NGG source.  The main requirement is that the 3rd party plugin tests its own custom capabilities using the WP function current_user_can.