You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user has login permissions to admin but not admin.super:
admin:
login: 'true'
There's a Toastr error coming from the task:GPM action:getUpdates request. Ideally the JS should not perform that action to get the updates, since the user has no rights to do maintenance.
The text was updated successfully, but these errors were encountered:
There are a few things that needs to be done at plugin level if the user has no rights, more than handling this via JS:
enable_auto_updates_check should be forced to disabled (this will also prevent the JS to fetch updates on load)
UI elements like check for updates button, add and perhaps even the updates purple bars and badges, should all disappear
There should still be an error thrown if a non rightful user tries to fetch updates, just in case the user manages to bypass all our checks or forges a manual ajax call
If a user has login permissions to admin but not admin.super:
There's a Toastr error coming from the task:GPM action:getUpdates request. Ideally the JS should not perform that action to get the updates, since the user has no rights to do maintenance.
The text was updated successfully, but these errors were encountered: