File tree Expand file tree Collapse file tree
docs/book/v4/core-features Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,4 +116,4 @@ The server responds with a JSON as follows:
116116"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
117117"refresh_token": "def5020087199939a49d0f2f818..."
118118}
119- ```
119+ ```
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ DotKernel's APIs implementation of the authorization uses `Mezzio\Authorization\
77Role-Based Access Control (RBAC)
88
99## How it works
10+
1011In DotKernel's API each authenticatable entity (admin and users) comes in with their roles table where you can define
1112roles for each entity. RBAC comes in to ensure that each entity has the appropriate role and permission to access a resource.
1213
@@ -63,8 +64,6 @@ A role can inherit the roles of their parent:
6364
6465- ` superuser ` has no parent
6566- ` admin ` has ` superuser ` as a parent which means ` superuser ` will inherit ` admin ` permissions
66-
67-
6867- ` user ` has no parent
6968- ` guest ` has ` user ` as a parent which means ` user ` will inherit ` guest ` permissions
7069
You can’t perform that action at this time.
0 commit comments