ModelPermissionQuery class abstract
Define a query to validate data permissions.
If a list exists on CollectionModelPath.permission or DocumentModelPath.permission, permissions are basically specified in white list format.
If firebase/firestore.rules
exists, generate rules for Firestore.
データのパーミッションを検証するクエリを定義します。
CollectionModelPath.permissionやDocumentModelPath.permission上のでリストが存在している場合、基本的にはホワイトリスト形式でパーミッションが指定されます。
firebase/firestore.rules
が存在している場合、Firestore用のルールを生成します。
permissionやuserを指定して許可をする属性を指定できます。
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Object?
-
Specify the target key to be used in ModelPermissionQueryUserType.
no setter
- permission → ModelPermissionQueryType
-
Specifies the permission type for validation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → ModelPermissionQueryUserType
-
Specify the target user for which you want to specify ModelPermissionQueryType.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited