Jump to content

Permissions for some modules are getting added as unpublished?


gornycreative
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...