mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-25 01:38:08 +00:00
Merge remote-tracking branch 'origin/3.0' into 3.0
This commit is contained in:
commit
8f30b466e0
@ -53,19 +53,19 @@ def create_default_roles(target, connection, **kw):
|
|||||||
default_permissions = [
|
default_permissions = [
|
||||||
{
|
{
|
||||||
"description": "Allow access to all endpoints",
|
"description": "Allow access to all endpoints",
|
||||||
"methods": ["GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"],
|
"methods": ["GET", "POST", "PUT", "DELETE"],
|
||||||
"path": "/",
|
"path": "/",
|
||||||
"action": "ALLOW"
|
"action": "ALLOW"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Allow to create and list projects",
|
"description": "Allow to create and list projects",
|
||||||
"methods": ["GET", "HEAD", "POST"],
|
"methods": ["GET", "POST"],
|
||||||
"path": "/projects",
|
"path": "/projects",
|
||||||
"action": "ALLOW"
|
"action": "ALLOW"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Allow to create and list templates",
|
"description": "Allow to create and list templates",
|
||||||
"methods": ["GET", "HEAD", "POST"],
|
"methods": ["GET", "POST"],
|
||||||
"path": "/templates",
|
"path": "/templates",
|
||||||
"action": "ALLOW"
|
"action": "ALLOW"
|
||||||
},
|
},
|
||||||
@ -77,7 +77,7 @@ def create_default_roles(target, connection, **kw):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Allow access to all symbol endpoints",
|
"description": "Allow access to all symbol endpoints",
|
||||||
"methods": ["GET", "HEAD", "POST"],
|
"methods": ["GET", "POST"],
|
||||||
"path": "/symbols/*",
|
"path": "/symbols/*",
|
||||||
"action": "ALLOW"
|
"action": "ALLOW"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user