Versions Compared

Key

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

...

Create a rule on some ancestor folder:

Image RemovedImage Added

Text:  note: there are two sets of curlies because if you have multiple statements you need to put them in another set of curlies

Code Block
rule
ruleActAsSubjectId       GrouperSystem 
ruleActAsSubjectSourceId g:isa 
ruleCheckStemScope       SUB 
ruleCheckType            groupCreate 
ruleIfConditionEl        ${groupName.contains(":etc:") || groupName.contains(":ref:")} 
ruleThenEl               ${ { stem.getAttributeValueDelegate().addValueString("etc:pspng:do_not_provision_to", "ldap"); stem.getAttributeValueDelegate().addValueString("etc:pspng:do_not_provision_to", "ad"); } } 
ruleValid                T 


If I create a group folder in that parent folder in or subfolder with an extension of "etc" or a "ref" folder, it will get some attributes

Image RemovedImage Added


Image RemovedImage Added