diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-04-17 18:15:00 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-04-17 17:53:36 -0400 |
commit | d27b55c0c721516ceda26aedabe14f8ea0a3dadd (patch) | |
tree | 00f6f4663aeadb83c98cbbf673b6770eedf8465e | |
parent | 2a27e0bd2067e380c8c7f0652b694a54a495f82d (diff) | |
download | freeipa.git-d27b55c0c721516ceda26aedabe14f8ea0a3dadd.tar.gz freeipa.git-d27b55c0c721516ceda26aedabe14f8ea0a3dadd.tar.xz freeipa.git-d27b55c0c721516ceda26aedabe14f8ea0a3dadd.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
-rw-r--r-- | install/ui/aci.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js index 21ffa718..27d9589a 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, |