Data specific to only one particular user (not a group of users)

I am trying to make an application where each user can do CRUD operations particular to only data the user that created the data. Also, only the user that created the data can actually see the data in searches.

I have looked at the Saas example (link below), but the example shows how to do this at the group level with multiple users in groups can do CRUD operations on data specific groups. I am missing something that is probably very easy once I see an example.

So, to summarize with an example using the saas example as a foundation:

  1. User ‘stark’ logs in and creates order number 10
  2. User ‘potts’ logs in and creates order number 20
  3. User ‘dent’ logs in and creates order number 30
  4. All users log out
  5. User ‘stark’ logs in and browses the order data. ‘stark’ only sees order 10
  6. User ‘potts’ logs in and browses the order data. ‘potts’ only sees order 20
  7. User ‘dent’ logs in and browses the order data. ‘dent’ only sees order 30

I have ignored part of a project that needs this kind of granularity and now I’ve reached the point where I’m stuck without help.

Thank you very much for any hints or help.

This can be done by access group in security setup. See this. Constraints - CUBA Platform. Developer’s Manual

umesh

1 Like