Refactor permissions constants
Prerelease permissions (bug 1036921)