I am trying to design an ER model for my database using RBAC approach.
This is the description: The company has many employees, each employee has several functional roles and an organizational role. Functional role consists of three roles counselor, counselee and super user. Each group consists of a counselor and N counselees, all groups are under supervision of a super user. The counselor of the group can only edit the reports of his/her counselees.
My question is should I create separate tables for both functional roles and organizational roles? or is there any better approach for this scenario?
The challenging part is about the part which a user can be a counselor in group A and be a counselee in group B at the same time.