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
For example, there's a big admin init function that gets run on every page load even if the logged in user is not an admin. We can just skip all that if the user isn't an admin. Similarly, most actions are only valid if a user is logged in. Why bother even registering them all if the user is not logged in?
The text was updated successfully, but these errors were encountered:
I think most of those are really cheap. We should find the expensive ones and put checks in for those. For example, I think we do percentage of strings translated when non-admins are logged in.
We also need to make sure we don't break things. If someone implements a roles plugin that allows non-admins to see an admin page, we don't want all the pages to be missing menu items and actions.
Original ticket http://trac.elgg.org/ticket/3003 on 41155087-01-02 by ewinslow, assigned to unknown.
Elgg version: 1.7
For example, there's a big admin init function that gets run on every page load even if the logged in user is not an admin. We can just skip all that if the user isn't an admin. Similarly, most actions are only valid if a user is logged in. Why bother even registering them all if the user is not logged in?
The text was updated successfully, but these errors were encountered: