Eugen Fintina
Programmer
I’m trying to find a method to implement Role Based Access Control.
Initially, I’ve defined some fixed roles (SuperAdmin, Admin, SuperUser, User, Visitor) and assigned each of them its access rights. Each role has all rights as lower one level plus some specific rights. All was Ok and worked as I expected.
But now, I need to define a custom role with access rights that belong to different fixed roles previously defined. It seems that I must change the philosophy.
So, I ask you to help me with some ideas about the way that I must take away.
Initially, I’ve defined some fixed roles (SuperAdmin, Admin, SuperUser, User, Visitor) and assigned each of them its access rights. Each role has all rights as lower one level plus some specific rights. All was Ok and worked as I expected.
But now, I need to define a custom role with access rights that belong to different fixed roles previously defined. It seems that I must change the philosophy.
So, I ask you to help me with some ideas about the way that I must take away.