Versions Compared

Key

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

...

Note, we don't have the built in actions to make this happen, so this is an EL (expression language) rule

Allow GrouperSystem to run trusted ELs for rules

Otherwise you get object is null error.  Note, you only need to do this once ever, so if you have a group configured (for some other rule) just use that or skip this step

  1. Create group: etc:rulesAccessToApiInEl
  2. Add config entry to grouper.properties (e.g. in UI)

    Code Block
    rules.accessToApiInEl.group = etc:rulesAccessToApiInEl


Configure rule



AttributeAttribute metadataValue
rule


ruleActAsSubjectIdGrouperSystem

ruleActAsSubjectSourceIdg:isa

ruleCheckStemScopeSUB

ruleCheckTypegroupCreate

ruleThenEl


Code Block
${ruleUtils.group(null, 'destination:groupOfGroups', null, true, true).addMember(ruleUtils.group(null, groupName, null, true, true).toSubject(), false)}



ruleValidT