mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
committed by
Rob Crittenden
parent
c043a65728
commit
7f2ac4c715
@@ -395,6 +395,12 @@ IPA.aci.delegation_entity = function(spec) {
|
|||||||
label: IPA.messages.details.general,
|
label: IPA.messages.details.general,
|
||||||
fields: [
|
fields: [
|
||||||
'aciname',
|
'aciname',
|
||||||
|
{
|
||||||
|
type: 'checkboxes',
|
||||||
|
name: 'permissions',
|
||||||
|
required: true,
|
||||||
|
options: IPA.create_options(['read', 'write'])
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: 'entity_select',
|
type: 'entity_select',
|
||||||
name: 'group',
|
name: 'group',
|
||||||
@@ -420,6 +426,11 @@ IPA.aci.delegation_entity = function(spec) {
|
|||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields: [
|
fields: [
|
||||||
'aciname',
|
'aciname',
|
||||||
|
{
|
||||||
|
type: 'checkboxes',
|
||||||
|
name: 'permissions',
|
||||||
|
options: IPA.create_options(['read', 'write'])
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: 'entity_select',
|
type: 'entity_select',
|
||||||
name: 'group',
|
name: 'group',
|
||||||
|
|||||||
Reference in New Issue
Block a user