Skip to content
Snippets Groups Projects
Commit 5375777e authored by Malte Bauch's avatar Malte Bauch
Browse files

Update default admin role so it is possible to access the pnd routes

See merge request !476
parent 3242db18
Branches
Tags
1 merge request!476Update default admin role so it is possible to access the pnd routes
Pipeline #151213 passed
......@@ -268,10 +268,10 @@ func ensureDefaultRoleExists() error {
if adminRole == nil {
err := c.roleService.Add(rbacImpl.NewRole(uuid.New(), defaultAdminRoleName, "admin role", []string{
"/gosdn.core.CoreService/GetPnd",
"/gosdn.core.CoreService/GetPndList",
"/gosdn.core.CoreService/CreatePndList",
"/gosdn.core.CoreService/DeletePnd",
"/gosdn.pnd.PndService/GetPnd",
"/gosdn.pnd.PndService/GetPndList",
"/gosdn.pnd.PndService/CreatePndList",
"/gosdn.pnd.PndService/DeletePnd",
"/gosdn.rbac.UserService/CreateUsers",
"/gosdn.rbac.UserService/GetUser",
"/gosdn.rbac.UserService/GetUsers",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment