Context is always adding the Context UI markup used by the context editor. Just much later it realizes that the user does not have the permissions and cancels the operation.

This is unnecessary and slows page rendering down. (measured via XHProf).

This patch fixes it by doing the permission check as early as possible.

Comments

fabianx’s picture

The patch using "administer site configuration" permission for moving blocks around.

alex.skrypnyk’s picture

Re-rolled against 3.11