Add 'admin' meta-permission
Right now every event in In-Portal requires a valid permission to run. For example to run "OnSave" event you need to have "add" or "edit" permissions. In we've added "debug" meta-permission, which checks if user has debug mode enabled or not.
I'm suggesting, that we can add another meta-permission called "admin", that would check if current user is logged-in into admin console.