mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Put user, groups, roles and ACL under /access
This commit is contained in:
1 parent
a358369606
commit
6ec97a704f
4 files changed
+10
-10
No files matched your search
@@ -62,7 +62,7 @@ class TestACLRoutes:
|
||||
rbac_repo = RbacRepository(db_session)
|
||||
admin_role_id = (await rbac_repo.get_role_by_name("Administrator")).role_id
|
||||
ace = ACECreate(
|
||||
path="/acl",
|
||||
path="/access/acl",
|
||||
ace_type="user",
|
||||
user_id=test_user.user_id,
|
||||
role_id=admin_role_id
|
||||
|
||||
@@ -29,8 +29,8 @@ ALLOWED_CONTROLLER_ENDPOINTS = [
|
||||
("/static/web-ui/{file_path:path}", "GET"),
|
||||
("/v3/version", "GET"),
|
||||
("/v3/version", "POST"),
|
||||
("/v3/users/login", "POST"),
|
||||
("/v3/users/authenticate", "POST"),
|
||||
("/v3/access/users/login", "POST"),
|
||||
("/v3/access/users/authenticate", "POST"),
|
||||
("/v3/symbols", "GET"),
|
||||
("/v3/symbols/{symbol_id:path}/raw", "GET"),
|
||||
("/v3/symbols/{symbol_id:path}/dimensions", "GET"),
|
||||
|
||||
Reference in new issue
Block a user