public static class BaasACL.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
BaasACL |
build()
Builds a
BaasACL |
BaasACL.Builder |
roles(Grant grant,
java.lang.String... roles)
Gives the specified
Grant to to the provided roles |
BaasACL.Builder |
users(Grant grant,
BaasUser... users)
Gives the specified
Grant to the provided users |
BaasACL.Builder |
users(Grant grant,
java.lang.String... users)
Gives the specified
Grant to the provided users |
public BaasACL.Builder users(Grant grant, java.lang.String... users)
Grant
to the provided usersgrant
- a grantusers
- a list of userspublic BaasACL.Builder users(Grant grant, BaasUser... users)
Grant
to the provided usersgrant
- a grantusers
- a list of userspublic BaasACL.Builder roles(Grant grant, java.lang.String... roles)
Grant
to to the provided rolesgrant
- a grantroles
- a list of roles