Hi everybody,
I'm trying to do following:
a ARIS model (or a list of models) has to be locked, for all users except the users belonging to the group XY.
I found following functions:
lock ( Model[] p_models, boolean p_includeObjects, String p_userName )
Locks the models in the array p_models permanent for the user with the name p_userName.
lockWithRights ( Model[] p_models, boolean p_includeObjects, String p_userName )
Locks the models in the array p_models permanent.
UserList()
Returns the list of all users.
---
Iterating the UserList() and locking models for all users except users from gruop 'XY' would be a solution, but there is a problem with new users:
the locks could be active for several days and in the meantime could be some new user generated. The models would be not locked for new users...
...
Any idea?
Best regards and thanks,
Edd
Users start off with zero access rights and gain those rights either because someone assigns the rights to that user, or because the user is added to a user group from which the user can inherit some access rights.
If you have users that see things they shouldn't see, you should rethink your user group structures, because there is no way to un-inherit rights. You can not hide things, not even with reports, from users which have rightfully gained access to groups and the models + object definitions contained in those groups.