Skip to content

Commit b1d813a

Browse files
authored
refactor: update metadata descriptions for Network User permissions (#3254)
1 parent 124914c commit b1d813a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pro/logic/user_mgmt.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var NetworkAdminAllPermissionTemplate = models.UserRolePermissionTemplate{
4040
var NetworkUserAllPermissionTemplate = models.UserRolePermissionTemplate{
4141
ID: models.UserRoleID(fmt.Sprintf("global-%s", models.NetworkUser)),
4242
Name: "Network Users",
43-
MetaData: "cannot access the admin console, but can connect to nodes in your networks via Remote Access Client.",
43+
MetaData: "Can connect to nodes in your networks via Remote Access Client.",
4444
Default: true,
4545
FullAccess: false,
4646
NetworkID: models.AllNetworks,
@@ -131,7 +131,7 @@ func UserGroupsInit() {
131131
models.UserRoleID(fmt.Sprintf("global-%s", models.NetworkUser)): {},
132132
},
133133
},
134-
MetaData: "cannot access the admin console, but can connect to nodes in your networks via Remote Access Client.",
134+
MetaData: "Provides read-only dashboard access to platform users and allows connection to network nodes via the Remote Access Client.",
135135
}
136136
d, _ := json.Marshal(NetworkGlobalAdminGroup)
137137
database.Insert(NetworkGlobalAdminGroup.ID.String(), string(d), database.USER_GROUPS_TABLE_NAME)
@@ -156,7 +156,7 @@ func CreateDefaultNetworkRolesAndGroups(netID models.NetworkID) {
156156
var NetworkUserPermissionTemplate = models.UserRolePermissionTemplate{
157157
ID: models.UserRoleID(fmt.Sprintf("%s-%s", netID, models.NetworkUser)),
158158
Name: fmt.Sprintf("%s User", netID),
159-
MetaData: fmt.Sprintf("cannot access the admin console, but can connect to nodes in your network `%s` via Remote Access Client.", netID),
159+
MetaData: fmt.Sprintf("Can connect to nodes in your network `%s` via Remote Access Client.", netID),
160160
Default: true,
161161
FullAccess: false,
162162
NetworkID: netID,
@@ -233,7 +233,7 @@ func CreateDefaultNetworkRolesAndGroups(netID models.NetworkID) {
233233
models.UserRoleID(fmt.Sprintf("%s-%s", netID, models.NetworkUser)): {},
234234
},
235235
},
236-
MetaData: fmt.Sprintf("cannot access the admin console, but can connect to nodes in your network `%s` via Remote Access Client.", netID),
236+
MetaData: fmt.Sprintf("Can connect to nodes in your network `%s` via Remote Access Client. Platform users will have read-only access to the the dashboard.", netID),
237237
}
238238
d, _ = json.Marshal(NetworkAdminGroup)
239239
database.Insert(NetworkAdminGroup.ID.String(), string(d), database.USER_GROUPS_TABLE_NAME)

0 commit comments

Comments
 (0)