Versions Compared

Key

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

...

Code Block
languagejs
boolean SET = true;
boolean INSERT = false;
boolean UPDATE = false;
boolean DELETE = false;

if(isUserInGroup("data-managers", currentUser())) {
    INSERT = true;
    UPDATE = true;
    DELETE = true;
}

return {SET, INSERT, UPDATE, DELETE};