mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
@@ -93,14 +93,26 @@ IPA.entity_factories.privilege = function() {
|
|||||||
entity('privilege').
|
entity('privilege').
|
||||||
facet_groups([ 'role', 'settings', 'permission' ]).
|
facet_groups([ 'role', 'settings', 'permission' ]).
|
||||||
search_facet({
|
search_facet({
|
||||||
columns:['cn','description']}).
|
columns: [
|
||||||
|
'cn',
|
||||||
|
'description'
|
||||||
|
]
|
||||||
|
}).
|
||||||
details_facet({
|
details_facet({
|
||||||
sections:
|
sections: [
|
||||||
[{
|
{
|
||||||
name:'identity',
|
name: 'identity',
|
||||||
label: IPA.messages.details.identity,
|
label: IPA.messages.details.identity,
|
||||||
fields:['cn','description']
|
fields: [
|
||||||
}]}).
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}).
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'member_role',
|
name: 'member_role',
|
||||||
facet_group: 'role',
|
facet_group: 'role',
|
||||||
@@ -116,7 +128,13 @@ IPA.entity_factories.privilege = function() {
|
|||||||
}).
|
}).
|
||||||
standard_association_facets().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:['cn', 'description']
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
|
|
||||||
@@ -128,12 +146,26 @@ IPA.entity_factories.role = function() {
|
|||||||
entity('role').
|
entity('role').
|
||||||
facet_groups([ 'member', 'settings', 'privilege' ]).
|
facet_groups([ 'member', 'settings', 'privilege' ]).
|
||||||
search_facet({
|
search_facet({
|
||||||
columns:['cn','description']}).
|
columns: [
|
||||||
details_facet({sections:[
|
'cn',
|
||||||
|
'description'
|
||||||
|
]
|
||||||
|
}).
|
||||||
|
details_facet({
|
||||||
|
sections: [
|
||||||
{
|
{
|
||||||
name:'identity',
|
name: 'identity',
|
||||||
label:IPA.messages.objects.role.identity,
|
label: IPA.messages.objects.role.identity,
|
||||||
fields:['cn','description']}]}).
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}).
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'memberof_privilege',
|
name: 'memberof_privilege',
|
||||||
facet_group: 'privilege',
|
facet_group: 'privilege',
|
||||||
@@ -142,7 +174,13 @@ IPA.entity_factories.role = function() {
|
|||||||
}).
|
}).
|
||||||
standard_association_facets().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:['cn', 'description']
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -81,7 +81,13 @@ IPA.entity_factories.automountmap = function() {
|
|||||||
{
|
{
|
||||||
name: 'identity',
|
name: 'identity',
|
||||||
label: IPA.messages.details.identity,
|
label: IPA.messages.details.identity,
|
||||||
fields: [ 'automountmapname', 'description' ]
|
fields: [
|
||||||
|
'automountmapname',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}).
|
}).
|
||||||
@@ -107,7 +113,10 @@ IPA.entity_factories.automountmap = function() {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
'automountmapname',
|
'automountmapname',
|
||||||
'description'
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,13 +29,27 @@ IPA.entity_factories.group = function () {
|
|||||||
return IPA.entity_builder().
|
return IPA.entity_builder().
|
||||||
entity('group').
|
entity('group').
|
||||||
search_facet({
|
search_facet({
|
||||||
columns:['cn','gidnumber','description']
|
columns: [
|
||||||
|
'cn',
|
||||||
|
'gidnumber',
|
||||||
|
'description'
|
||||||
|
]
|
||||||
|
}).
|
||||||
|
details_facet({
|
||||||
|
sections: [
|
||||||
|
{
|
||||||
|
name: 'details',
|
||||||
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
},
|
||||||
|
'gidnumber'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
details_facet({sections:
|
|
||||||
[{
|
|
||||||
name:'details',
|
|
||||||
fields:['cn','description','gidnumber']
|
|
||||||
}]}).
|
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'member_user',
|
name: 'member_user',
|
||||||
columns:[
|
columns:[
|
||||||
@@ -90,14 +104,18 @@ IPA.entity_factories.group = function () {
|
|||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields: [
|
fields: [
|
||||||
'cn',
|
'cn',
|
||||||
'description',
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
factory: IPA.group_nonposix_checkbox_widget,
|
factory: IPA.group_nonposix_checkbox_widget,
|
||||||
name: 'nonposix',
|
name: 'nonposix',
|
||||||
label: IPA.messages.objects.group.posix,
|
label: IPA.messages.objects.group.posix,
|
||||||
checked: true
|
checked: true
|
||||||
},
|
},
|
||||||
'gidnumber']
|
'gidnumber'
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -47,11 +47,26 @@ IPA.entity_factories.hbacsvc = function() {
|
|||||||
return IPA.entity_builder().
|
return IPA.entity_builder().
|
||||||
entity('hbacsvc').
|
entity('hbacsvc').
|
||||||
search_facet({
|
search_facet({
|
||||||
columns:['cn','description']}).
|
columns: [
|
||||||
details_facet({sections:[{
|
'cn',
|
||||||
|
'description'
|
||||||
|
]
|
||||||
|
}).
|
||||||
|
details_facet({
|
||||||
|
sections: [
|
||||||
|
{
|
||||||
name: 'general',
|
name: 'general',
|
||||||
label: IPA.messages.details.general,
|
label: IPA.messages.details.general,
|
||||||
fields:[ 'cn', 'description']}]}).
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}).
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'memberof_hbacsvcgroup',
|
name: 'memberof_hbacsvcgroup',
|
||||||
associator: IPA.serial_associator,
|
associator: IPA.serial_associator,
|
||||||
@@ -77,7 +92,13 @@ IPA.entity_factories.hbacsvc = function() {
|
|||||||
}).
|
}).
|
||||||
standard_association_facets().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:['cn','description']
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
};
|
};
|
||||||
@@ -87,13 +108,26 @@ IPA.entity_factories.hbacsvcgroup = function() {
|
|||||||
return IPA.entity_builder().
|
return IPA.entity_builder().
|
||||||
entity('hbacsvcgroup').
|
entity('hbacsvcgroup').
|
||||||
search_facet({
|
search_facet({
|
||||||
columns:['cn', 'description']}).
|
columns: [
|
||||||
details_facet({sections:[
|
'cn',
|
||||||
|
'description'
|
||||||
|
]
|
||||||
|
}).
|
||||||
|
details_facet({
|
||||||
|
sections: [
|
||||||
{
|
{
|
||||||
name: 'general',
|
name: 'general',
|
||||||
label: IPA.messages.details.general,
|
label: IPA.messages.details.general,
|
||||||
fields:['cn','description']
|
fields: [
|
||||||
}]}).
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}).
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'member_hbacsvc',
|
name: 'member_hbacsvc',
|
||||||
columns:[
|
columns:[
|
||||||
@@ -118,7 +152,13 @@ IPA.entity_factories.hbacsvcgroup = function() {
|
|||||||
}).
|
}).
|
||||||
standard_association_facets().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:['cn', 'description']
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -50,7 +50,10 @@ IPA.entity_factories.host = function () {
|
|||||||
other_entity: 'dnsrecord'
|
other_entity: 'dnsrecord'
|
||||||
},
|
},
|
||||||
'krbprincipalname',
|
'krbprincipalname',
|
||||||
'description',
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
},
|
||||||
'l',
|
'l',
|
||||||
'nshostlocation',
|
'nshostlocation',
|
||||||
'nshardwareplatform',
|
'nshardwareplatform',
|
||||||
|
|||||||
@@ -27,12 +27,27 @@ IPA.entity_factories.hostgroup = function() {
|
|||||||
|
|
||||||
return IPA.entity_builder().
|
return IPA.entity_builder().
|
||||||
entity('hostgroup').
|
entity('hostgroup').
|
||||||
search_facet({columns:['cn','description']}).
|
search_facet({
|
||||||
details_facet({sections:[{
|
columns: [
|
||||||
name:'identity',
|
'cn',
|
||||||
|
'description'
|
||||||
|
]
|
||||||
|
}).
|
||||||
|
details_facet({
|
||||||
|
sections: [
|
||||||
|
{
|
||||||
|
name: 'identity',
|
||||||
label: IPA.messages.objects.hostgroup.identity,
|
label: IPA.messages.objects.hostgroup.identity,
|
||||||
fields:['cn','description']
|
fields: [
|
||||||
}]}).
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}).
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'memberof_hostgroup',
|
name: 'memberof_hostgroup',
|
||||||
associator: IPA.serial_associator
|
associator: IPA.serial_associator
|
||||||
@@ -55,7 +70,13 @@ IPA.entity_factories.hostgroup = function() {
|
|||||||
}).
|
}).
|
||||||
standard_association_facets().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:['cn','description']
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -27,19 +27,25 @@ IPA.entity_factories.netgroup = function() {
|
|||||||
return IPA.entity_builder().
|
return IPA.entity_builder().
|
||||||
entity('netgroup').
|
entity('netgroup').
|
||||||
search_facet({
|
search_facet({
|
||||||
columns:[
|
columns: [
|
||||||
'cn',
|
'cn',
|
||||||
'description'
|
'description'
|
||||||
]
|
]
|
||||||
}).
|
}).
|
||||||
details_facet({
|
details_facet({
|
||||||
sections:[{
|
sections: [
|
||||||
name:'identity',
|
{
|
||||||
fields:[
|
name: 'identity',
|
||||||
|
fields: [
|
||||||
'cn',
|
'cn',
|
||||||
'description',
|
{
|
||||||
'nisdomainname']
|
factory: IPA.textarea_widget,
|
||||||
}]
|
name: 'description'
|
||||||
|
},
|
||||||
|
'nisdomainname'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'memberhost_host',
|
name: 'memberhost_host',
|
||||||
@@ -63,9 +69,12 @@ IPA.entity_factories.netgroup = function() {
|
|||||||
}).
|
}).
|
||||||
standard_association_facets().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:[
|
fields: [
|
||||||
'cn',
|
'cn',
|
||||||
'description'
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
|
|||||||
@@ -46,15 +46,28 @@ IPA.entity_factories.sudorule = function() {
|
|||||||
IPA.entity_factories.sudocmd = function() {
|
IPA.entity_factories.sudocmd = function() {
|
||||||
|
|
||||||
return IPA.entity_builder().
|
return IPA.entity_builder().
|
||||||
entity( 'sudocmd').
|
entity('sudocmd').
|
||||||
search_facet({
|
search_facet({
|
||||||
columns:['sudocmd','description']}).
|
columns: [
|
||||||
details_facet({sections:[
|
'sudocmd',
|
||||||
|
'description'
|
||||||
|
]
|
||||||
|
}).
|
||||||
|
details_facet({
|
||||||
|
sections: [
|
||||||
{
|
{
|
||||||
name: 'general',
|
name: 'general',
|
||||||
label: IPA.messages.details.general,
|
label: IPA.messages.details.general,
|
||||||
fields:['sudocmd','description']
|
fields: [
|
||||||
}]}).
|
'sudocmd',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}).
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'memberof_sudocmdgroup',
|
name: 'memberof_sudocmdgroup',
|
||||||
associator: IPA.serial_associator,
|
associator: IPA.serial_associator,
|
||||||
@@ -66,7 +79,7 @@ IPA.entity_factories.sudocmd = function() {
|
|||||||
},
|
},
|
||||||
{ name: 'description' }
|
{ name: 'description' }
|
||||||
],
|
],
|
||||||
adder_columns:[
|
adder_columns: [
|
||||||
{
|
{
|
||||||
name: 'cn',
|
name: 'cn',
|
||||||
primary_key: true,
|
primary_key: true,
|
||||||
@@ -80,7 +93,13 @@ IPA.entity_factories.sudocmd = function() {
|
|||||||
}).
|
}).
|
||||||
standard_association_facets().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:['sudocmd','description']
|
fields: [
|
||||||
|
'sudocmd',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
|
|
||||||
@@ -90,18 +109,29 @@ IPA.entity_factories.sudocmdgroup = function() {
|
|||||||
return IPA.entity_builder().
|
return IPA.entity_builder().
|
||||||
entity('sudocmdgroup').
|
entity('sudocmdgroup').
|
||||||
search_facet({
|
search_facet({
|
||||||
columns:['cn','description']
|
columns: [
|
||||||
|
'cn',
|
||||||
|
'description'
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
details_facet({sections:[
|
details_facet({
|
||||||
|
sections: [
|
||||||
{
|
{
|
||||||
|
|
||||||
name: 'general',
|
name: 'general',
|
||||||
label: IPA.messages.details.general,
|
label: IPA.messages.details.general,
|
||||||
fields:['cn','description']
|
fields: [
|
||||||
}]}).
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}).
|
||||||
association_facet({
|
association_facet({
|
||||||
name: 'member_sudocmd',
|
name: 'member_sudocmd',
|
||||||
columns:[
|
columns: [
|
||||||
{
|
{
|
||||||
name: 'sudocmd',
|
name: 'sudocmd',
|
||||||
primary_key: true,
|
primary_key: true,
|
||||||
@@ -123,7 +153,13 @@ IPA.entity_factories.sudocmdgroup = function() {
|
|||||||
}).
|
}).
|
||||||
standard_association_facets().
|
standard_association_facets().
|
||||||
adder_dialog({
|
adder_dialog({
|
||||||
fields:['cn','description']
|
fields: [
|
||||||
|
'cn',
|
||||||
|
{
|
||||||
|
factory: IPA.textarea_widget,
|
||||||
|
name: 'description'
|
||||||
|
}
|
||||||
|
]
|
||||||
}).
|
}).
|
||||||
build();
|
build();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user