The Remove Invalid Permissions (RIP) module is designed to simplify the process of removing invalid permissions in Drupal 9. It addresses the need to clean up invalid permissions before upgrading to Drupal 10, ensuring a smoother transition.

Requirements

Before you begin, ensure you meet the following requirements:

  • Drupal 8 or 9 installed.
  • Appropriate permissions to configure modules and administer permissions.
  • Drush installed (optional).
  • Configuration synchronization module installed (optional).

Installation

  • Install via Composer:
    • Install module with Composer composer require drupal/rip.
    • Enable with the Drush command drush en rip.
  • Alternatively download the module and activate it under Admin > Extend.

Usage

To use the RIP module, follow these steps:

  1. Enable the module as described in the Installation section.
  2. Remove the invalid permissions:
    • via Drush: Run drush rip.
    • via Admin UI: Navigate to Admin > People > RIP and press Submit.
  3. Export the configuration for other environments (optional):
    • via Drush: Run drush cex.
    • via Admin UI: Navigate to Administration > Configuration > Development > Configuration synchronization > Export and press Export.
  4. Uninstall the Remove Invalid Permissions module:
    • via Drush: Run drush un rip.
    • via Admin UI: Navigate to Admin > Extend > Uninstall, select the Remove Invalid Permissions module and press Uninstall.
Supporting organizations: 
Supporting contribution time for the maintainers

Project information

Releases