Roles/permissions With Yii2's Rbac

Hi all,

I am creating a system that includes roles and permissions for each user, my permissions are very simple and straightforward /read-write-delete/, currently am getting the the permissions once the user is logged in and save them in a session, and in each function/action I check the permission from the session

should i use yii2’s rbac or keep working as what i am doing now?

Thank you

RBAC is about similar checks. It’s not stored in the session because it can be modified and should be updated immediately though.