LCACL class

LeanCloud Access Control Lists.

Constructors

LCACL()

Properties

hashCode int
The hash code for this object.
no setterinherited
readAccess Map<String, bool>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writeAccess Map<String, bool>
getter/setter pair

Methods

getPublicWriteAccess() bool
getPublilcReadAccess() bool
getRoleReadAccess(LCRole role) bool
getRoleWriteAccess(LCRole role) bool
getUserIdReadAccess(String userId) bool
getUserIdWriteAccess(String userId) bool
getUserReadAccess(LCUser user) bool
getUserWriteAccess(LCUser user) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPublicReadAccess(bool value) → void
setPublicWriteAccess(bool value) → void
setRoleReadAccess(LCRole role, bool value) → void
setRoleWriteAccess(LCRole role, bool value) → void
setUserIdReadAccess(String userId, bool value) → void
setUserIdWriteAccess(String userId, bool value) → void
setUserReadAccess(LCUser user, bool value) → void
setUserWriteAccess(LCUser user, bool value) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createWithOwner(LCUser owner) LCACL
Creates an ACL object of LCUser.

Constants

PublicKey → const String
RoleKeyPrefix → const String