retire APIView
This commit is contained in:
parent
53cc633a16
commit
f40dc5e88d
@ -4,7 +4,7 @@
|
||||
```json
|
||||
[
|
||||
"ScoSuperAdmin",
|
||||
"APIView",
|
||||
"ScoView",
|
||||
"..."
|
||||
]
|
||||
```
|
||||
|
@ -3,13 +3,14 @@
|
||||
#### POST /role/customRole/edit
|
||||
> `Content-Type: application/json`
|
||||
>
|
||||
> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "APIView" ] }`
|
||||
> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "ScoAbsChange" ] }`
|
||||
|
||||
```json
|
||||
{
|
||||
"id": 13,
|
||||
"permissions": [
|
||||
"ScoView"
|
||||
"ScoView",
|
||||
"ScoAbsChange"
|
||||
],
|
||||
"role_name": "customRole"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user