permissions(forType:)
public func permissions<T: Object>(forType cls: T.Type) -> List<Permission>
Returns the class-wide permissions for the given class.
Requires
This must only be called on a Realm using query-based sync.-
Declaration
Swift
public func permissions<T: Object>(forType cls: T.Type) -> List<Permission>