summaryrefslogtreecommitdiffstats
path: root/install/ui
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-04-17 18:15:00 +0200
committerRob Crittenden <rcritten@redhat.com>2012-04-17 17:53:25 -0400
commit7f2ac4c71594f4895d949faffeb15562b1f5fa33 (patch)
tree9c4b38ddd24381495efddfd8a35ff80893cdfb9d /install/ui
parentc043a65728ec897a31373e0ebe00f52ac8978dc1 (diff)
downloadfreeipa-7f2ac4c71594f4895d949faffeb15562b1f5fa33.tar.gz
freeipa-7f2ac4c71594f4895d949faffeb15562b1f5fa33.tar.xz
freeipa-7f2ac4c71594f4895d949faffeb15562b1f5fa33.zip
Added permission field to delegation
Permission field is missing in delegation so it can't be set/modified. It was added to delegation details facet and adder dialog. The field is using checkboxes instead of multivalued textbox because it can have only two effective values: 'read' and 'write'. https://fedorahosted.org/freeipa/ticket/2635
Diffstat (limited to 'install/ui')
-rw-r--r--install/ui/aci.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js
index 21ffa718e..27d9589aa 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -396,6 +396,12 @@ IPA.aci.delegation_entity = function(spec) {
fields: [
'aciname',
{
+ type: 'checkboxes',
+ name: 'permissions',
+ required: true,
+ options: IPA.create_options(['read', 'write'])
+ },
+ {
type: 'entity_select',
name: 'group',
other_entity: that.group_entity,
@@ -421,6 +427,11 @@ IPA.aci.delegation_entity = function(spec) {
fields: [
'aciname',
{
+ type: 'checkboxes',
+ name: 'permissions',
+ options: IPA.create_options(['read', 'write'])
+ },
+ {
type: 'entity_select',
name: 'group',
other_entity: that.group_entity,