New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Remove non-existent permissions function to be used for upgrades with missing static and dynamic permissions #10
Comments
…with missing static and dynamic permissions #10
…with missing static and dynamic permissions #10
…with missing static and dynamic permissions #10
…with missing static and dynamic permissions #10
…with missing static and dynamic permissions #10
We can start a new issue in Varbase Core
Maybe in the list of
and the other command could be |
✅ Released varbase_core-10.0.0-rc5
Run
|
Have you faced an issue with missing static or dynamic permissions while updating?
or after disabling/uninstalling a module?
Following with:
Calculate role dependencies and remove non-existent permissions.
Which was removed in Drupal 10
Developers are facing this issue while uninstalling a module with dynamic permissions
Cloned the ready function and name it
removeNoneExistentPermissions
in our Module Install Factory class ..Next to addPermissions Add Permissions for user roles from scanned directory Add Permissions for user roles from scanned directory #9
Add more needed functions if you like, so we tell teams to use them in hooks . Update, modules_installed , hook_uninstall
A drush command in Varbase Core could be needed for an easier way to clean and a quick fix the non-existent permissions to a role in projects.
Examples:
Example 1:
use Vardot\Installer\ModuleInstallerFactory;
Example 2 :
Given a
mycustom_migrate_module
module was used to migrate or updateuse Vardot\Installer\ModuleInstallerFactory;
Could be used for sure in any uninstall post update event subscribers
The text was updated successfully, but these errors were encountered: