A critical UI / authorization roadblock on an OJS 3.4.09 installation

Hi,
I am running into a critical UI / authorization roadblock on an OJS 3.4.09 installation.

While attempting to activate the Default Theme Plugin or assign rolls within a specific journal’s panel (Settings > Website > Plugins) (after upgrading to 3.4.09), I was met with an authorization popup blocking me with the untranslated locale key error:
##user.authorization.pluginLevel##

Despite being logged in as the top-level Site Administrator, the “OK” button in the modal failed to execute the action. Interestingly, the plugin could be successfully enabled/disabled at the site-wide level, but it completely refused to appear in the newly created journal’s dropdown list under Settings > Website > Appearance.

Has anyone encountered this specific ##user.authorization.pluginLevel## context/plugin rejection on OJS 3.4.09 ? Is there a missing schema dependency, API initialization step, or mandatory setting entry required beyond the basic journals, user_groups, and user_group_stage tables to get the UI to successfully evaluate a user’s role assignments?

Any advice or pointers would be highly appreciated!

Thanks,
Obi

Hi @obi,

Can you check to see that the sitewide column’s value in the versions table matches what’s expected? It should be 0 for a theme plugin.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec,

All the plugin.themes are 0.

SELECT product_type, product, sitewide, current FROM versions WHERE product_type = ‘plugins.themes’ AND current = 1;
±---------------±-------------±---------±--------+
| product_type | product | sitewide | current |
±---------------±-------------±---------±--------+
| plugins.themes | blueSteel | 0 | 1 |
| plugins.themes | classic | 0 | 1 |
| plugins.themes | classicBlue | 0 | 1 |
| plugins.themes | classicBrown | 0 | 1 |
| plugins.themes | classicGreen | 0 | 1 |
| plugins.themes | classicNavy | 0 | 1 |
| plugins.themes | classicRed | 0 | 1 |
| plugins.themes | custom | 0 | 1 |
| plugins.themes | default | 0 | 1 |
| plugins.themes | desert | 0 | 1 |
| plugins.themes | immersion | 0 | 1 |
| plugins.themes | lilac | 0 | 1 |
| plugins.themes | night | 0 | 1 |
| plugins.themes | redbar | 0 | 1 |
| plugins.themes | steel | 0 | 1 |
| plugins.themes | uncommon | 0 | 1 |
| plugins.themes | vanilla | 0 | 1 |
±---------------±-------------±---------±--------+

Obi

Hi @obi,

Do you have rewriting rules in place to e.g. hide the index.php or journal path?

Regards,
Alec Smecher
Public Knowledge Project Team

No, we don’t have.

Regards

Obi