Move getRestrictionLevels from NamespaceInfo to PermissionManager.