Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • permissionLookup: PermissionLookup object
  • action: qualifies the assignment
  • subject: Subject object\
  • removeOnly: If true, addMember() fails if subject is already not assigned to of permissionID for that action.

Output

  • true if assignment is successfully removed or if addOnly is false and subject is already assigned to permissionID and action, false otherwise.

Availability

Optional. Data store may be read-only.

Example of using permissions API for Group privileges

...