/
[system log] Log permission violations

[system log] Log permission violations

Currently if user is trying to access a page he has no right to access he is redirected to "no_permission.tpl" template.

Since this isn't a normal situation, that user is able to click somewhere and get following error message back:

you don't have a permission to visit this page, please come back later

Solution

I propose to log such cases in the "System Log". This way we will be able (by analyzing log) find a ways users are using website, that we never anticipated at development time.