summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-03-18 10:15:55 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-03-21 12:49:21 +0100
commit801b2fd4588b8b40b74140f26b12eb190306d260 (patch)
tree27699b44f39c79c50e81e8e8940591de54755ebc /ipalib
parentffd9bb2d7c4d19dae8e1e9b8daac415d83012c8e (diff)
downloadfreeipa-801b2fd4588b8b40b74140f26b12eb190306d260.tar.gz
freeipa-801b2fd4588b8b40b74140f26b12eb190306d260.tar.xz
freeipa-801b2fd4588b8b40b74140f26b12eb190306d260.zip
permission CLI: rename --permissions to --right
The old name is kept as a deprecated alias. https://fedorahosted.org/freeipa/ticket/4231 Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/permission.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipalib/plugins/permission.py b/ipalib/plugins/permission.py
index 65220b6e0..cc842a68b 100644
--- a/ipalib/plugins/permission.py
+++ b/ipalib/plugins/permission.py
@@ -181,8 +181,9 @@ class permission(baseldap.LDAPObject):
),
StrEnum(
'ipapermright*',
- cli_name='permissions',
- label=_('Permissions'),
+ cli_name='right',
+ deprecated_cli_aliases={'permissions'},
+ label=_('Granted rights'),
doc=_('Rights to grant '
'(read, search, compare, write, add, delete, all)'),
values=(u'read', u'search', u'compare',