This module helps remove invalid permissions in Drupal, which is particularly useful for cleaning up permissions before upgrading to a new major version. It can be used via the Drupal administration interface or with Drush commands.
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.
- Install module with Composer
- Alternatively download the module and activate it under Admin > Extend.
Usage
To use the RIP module, follow these steps:
- Enable the module as described in the Installation section.
- Remove the invalid permissions:
- via Drush: Run
drush rip. - via Admin UI: Navigate to Admin > People > RIP and press Submit.
- via Drush: Run
- 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.
- via Drush: Run
- 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.
- via Drush: Run
Ask your assistant about Remove Invalid Permissions
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.