From 5cc4c5ca2a5ad0d4aa8259defbec9389e47fb01f Mon Sep 17 00:00:00 2001 From: viennet Date: Fri, 26 Aug 2022 10:03:21 +0200 Subject: [PATCH] retire APIView --- docs/samples/sample_permissions.json.md | 2 +- docs/samples/sample_role-edit.json.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/samples/sample_permissions.json.md b/docs/samples/sample_permissions.json.md index 539d96d24..2dc13e9ed 100644 --- a/docs/samples/sample_permissions.json.md +++ b/docs/samples/sample_permissions.json.md @@ -4,7 +4,7 @@ ```json [ "ScoSuperAdmin", - "APIView", + "ScoView", "..." ] ``` diff --git a/docs/samples/sample_role-edit.json.md b/docs/samples/sample_role-edit.json.md index f70c32aa4..754887488 100644 --- a/docs/samples/sample_role-edit.json.md +++ b/docs/samples/sample_role-edit.json.md @@ -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" }