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

Dynamic groups membership in NACL

Hello,

I have a case, where I have multiple user groups defined. Each user group is used in specific NACL.

Is there any elegant way to add specific (based on name convention) user groups to NACL (for example, to add all the grroups
starting with  "Managers*" : Managers_AT, Managers:DE, ...)?

Regards,
Boštjan

Parents
  • User groups can include other user groups, so one approach that might help would be to create a main Managers group which would have as members those country-specific manager groups. That way you could use the main Managers group in your NACL and when you create new country-specific groups, you would just add them to the main Managers group. The NACL would not require any changes at this point. The set up would still be manual work in M-Files Admin, but I assume those groups don't change that often.

    If these operations absolutely need to be automated, you would need to write some event handlers (e.g. for AfterCreateUserGroup, AfterModifyUserGroup, AfterRemoveUserGroup events) and define the logic yourself.

Reply
  • User groups can include other user groups, so one approach that might help would be to create a main Managers group which would have as members those country-specific manager groups. That way you could use the main Managers group in your NACL and when you create new country-specific groups, you would just add them to the main Managers group. The NACL would not require any changes at this point. The set up would still be manual work in M-Files Admin, but I assume those groups don't change that often.

    If these operations absolutely need to be automated, you would need to write some event handlers (e.g. for AfterCreateUserGroup, AfterModifyUserGroup, AfterRemoveUserGroup events) and define the logic yourself.

Children