Dont know if this is the todo, but it should check for the _global permission too(or is that somewhere else?)