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 partially-synced Realm.-
Declaration
Swift
public func permissions<T: Object>(forType cls: T.Type) -> List<Permission>