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
Expose the actual user and his role/s through the ProcessWire.config object so we can use them in JavaScript to trigger actions just for specific users or roles in the admin (frontend would be nice too).
Right now the actual user and roles are assigned as a classname to the body element (user-username)
Why would the enhancement be useful to users?
I think this could be useful for many use cases like my request #236 or for AdminOnSteroids, because we can select which scripts are executed for which role or user.
teppokoivula, tiefenb, MrSnoozles, noelboss, rolandtoth and 2 more