Different users logging to the system

4
Am busy with the system that different users logs in so i want to know how can i a user retrieve his own info from the system to be more clear " lets say i have two users so they both have entered different info on the system and i want if user 1 logs in he can only view his own info
asked
1 answers
1

Method A

Create Access Rule on entity

Create a XPATH constraint on Mydata.

Click on button owner.

Method B

Make an association to the user entity. (MyData_User)

Create a After create event on MyData that fills this association (retrieve current user, change object)

Create Access rule. Put an XPATH constraint on the MyData entity. Click on path to user.

[Module.MyData/MyData_User/User=[%Current_User%]]

With some extension can this method be used if groups of users can see each data, but not all.

answered