mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
update role permissions for admins
This commit is contained in:
@@ -18,7 +18,7 @@ var Admin = RolePermissions{
|
||||
modules.Accounts: {
|
||||
operations.Read: true,
|
||||
operations.Create: false,
|
||||
operations.Update: false,
|
||||
operations.Update: true,
|
||||
operations.Delete: false,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -216,7 +216,6 @@ func Test_Groups_Create(t *testing.T) {
|
||||
}
|
||||
tc.verifyResponse(t, got)
|
||||
|
||||
// Verify group exists in DB
|
||||
db := testing_tools.GetDB(t, am.GetStore())
|
||||
dbGroup := testing_tools.VerifyGroupInDB(t, db, got.Id)
|
||||
assert.Equal(t, tc.requestBody.Name, dbGroup.Name)
|
||||
|
||||
Reference in New Issue
Block a user