Modified to allow the 'all' secured action privilege, mostly for high level roles like the developer.