This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Policy to block circular nesting of group?

Hi,

I desire to prevent people from circular nesting groups.

I thought this was a built-in policy but am unable to find it now?  Seems like a very basic task that administrators should be able to be turned on, so I'm hoping there is a supported policy for this already and we don't have to custom make one.

If anyone custom made one and is willing to share their policy also, would much appreciate it.

I'm debating on the best way this should be approached. Policy on edit so that if Group1 is trying to be edited to add Group2 as a member.  Get Group1 recursive membership and ensure Group2 is not listed in the results.

That's about it, right? 

Thanks,

Parents
  • I would caution that it might not be wise to make this part of a policy script per se as I believe that executing this live for every group change transaction could be performance hampering for the AR service. Rather, I would suggest that it would be better implemented as a scheduled task script to be run periodically against changed groups that would be flagged-for-checking in some way (example, a virtual attribute).
Reply
  • I would caution that it might not be wise to make this part of a policy script per se as I believe that executing this live for every group change transaction could be performance hampering for the AR service. Rather, I would suggest that it would be better implemented as a scheduled task script to be run periodically against changed groups that would be flagged-for-checking in some way (example, a virtual attribute).
Children
No Data