add plaform user role

This commit is contained in:
abhishek9686 2024-07-09 13:56:55 +05:30
parent a797875c9b
commit 87b585266e
2 changed files with 10 additions and 2 deletions

View file

@ -23,7 +23,14 @@ var AdminPermissionTemplate = models.UserRolePermissionTemplate{
}
var ServiceUserPermissionTemplate = models.UserRolePermissionTemplate{
ID: models.ServiceUser,
ID: models.ServiceUser,
Default: true,
FullAccess: false,
DenyDashboardAccess: true,
}
var PlatformUserUserPermissionTemplate = models.UserRolePermissionTemplate{
ID: models.PlatformUser,
Default: true,
FullAccess: false,
}

View file

@ -55,7 +55,8 @@ const (
const (
SuperAdminRole UserRole = "super_admin"
AdminRole UserRole = "admin"
ServiceUser UserRole = "user"
ServiceUser UserRole = "service_user"
PlatformUser UserRole = "platform_user"
NetworkAdmin UserRole = "network_admin"
NetworkUser UserRole = "network_user"
)