Merge "Move getRestrictionLevels from NamespaceInfo to PermissionManager."