gornycreative Posted December 26, 2023 Share Posted December 26, 2023 Hi all, I don't know if this is an issue with RockMigrations or the modules->install() function or if something else is going on - perhaps there is just old module config stuff getting in the way. I have been using RockMigrations to install modules and several (for example, Dashboard and PageProtector) will add the permissions to the permissions area but they are getting added as unpublished. I think I ran into this with custom Admin Actions too? It doesn't happen with every module. From what I can see there isn't anything RockMigrations is doing that should interfere - it seems to just call modules->install('module'). It isn't possible to add unpublished permissions to a role which interferes with other migration scripts. I'm just wondering if permissions pages can have their status set like regular pages or is there something else weird going on? Anyone else run into this? Link to comment Share on other sites More sharing options...
gornycreative Posted December 26, 2023 Author Share Posted December 26, 2023 The common denominator seems to be that the modules in question include both a populated 'permission' and a 'permissions' key/value in the module $info array. This includes a few older modules of Ryan's (ProcessFileEditor) - on the actual permissions menu/page list they are struck through/unpublished. 2049 Status code in the DB. Link to comment Share on other sites More sharing options...
gornycreative Posted December 26, 2023 Author Share Posted December 26, 2023 I can mitigate it via the API/migrate() so I guess it isn't an issue. I did find that RockMigrations doesn't take existing page titles into account when updating data so I will make an issue in RM for that. Link to comment Share on other sites More sharing options...
bernhard Posted December 27, 2023 Share Posted December 27, 2023 @gornycreative have you seen https://github.com/baumrock/RockMigrations/issues/50 ? Or was that you posting the issue? ? 1 Link to comment Share on other sites More sharing options...
gornycreative Posted December 27, 2023 Author Share Posted December 27, 2023 9 hours ago, bernhard said: @gornycreative have you seen https://github.com/baumrock/RockMigrations/issues/50 ? Or was that you posting the issue? ? That's me - I rebranded. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now