mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-28 19:28:19 -04:00
fix: improve some wordings and cli table
This commit is contained in:
@@ -37,5 +37,6 @@ The output of this command includes the following information for each role:
|
||||
- Description: A short description of the role.
|
||||
- Enabled: Whether the role is enabled or not.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10013
|
||||
https://github.com/owncloud/ocis/pull/9727
|
||||
https://github.com/owncloud/ocis/issues/9698
|
||||
|
||||
@@ -62,7 +62,7 @@ func listUnifiedRoles(cfg *config.Config) *cli.Command {
|
||||
case 0:
|
||||
rows[0] = append(rows[0], row...)
|
||||
default:
|
||||
rows = append(rows, append(slices.Clone(rows[0][:len(rows[0])-len(row)]), row...))
|
||||
rows[0][3] = rows[0][3] + "\n" + rolePermission.GetCondition()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ var (
|
||||
_editorListGrantsUnifiedRoleDisplayName = l10n.Template("Can edit")
|
||||
|
||||
// UnifiedRole SpaseEditor, Role Description (resolves directly)
|
||||
_spaceEditorUnifiedRoleDescription = l10n.Template("View, download, upload, edit, add and delete.")
|
||||
_spaceEditorUnifiedRoleDescription = l10n.Template("View, download, upload, edit, add, delete including the history.")
|
||||
|
||||
// UnifiedRole SpaseEditor, Role DisplayName (resolves directly)
|
||||
_spaceEditorUnifiedRoleDisplayName = l10n.Template("Can edit")
|
||||
|
||||
Reference in New Issue
Block a user