Beatrice
Beatrice

Reputation: 1

What access control software can define the following rules

  1. Role R0: Users can access data belonging to their department.
  2. Role R1: Users can access data from all departments.
  3. User U0 has role R0.
  4. User U0 belongs to department D0.
  5. User U1 has role R1.
  6. User U1 belongs to department D1.
  7. Data Data0 belongs to department D0.
  8. Data Data1 belongs to department D1.
User Data Result
U0 Data0 Allowed
U0 Data1 Denied
U1 Data0 Allowed
U1 Data1 Allowed

I tried to define rules using Casbin, but I failed.

Upvotes: 0

Views: 14

Answers (0)

Related Questions