summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-26 15:15:06 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:30 +0200
commitcf8bab45fc5b4d8390f99818fbf144d666698024 (patch)
tree7e6432cf81af1aea1cd887638d5464bde234efb5 /install
parent348dc948fffc19ee4f44859eaa93b768620c36f1 (diff)
downloadfreeipa-cf8bab45fc5b4d8390f99818fbf144d666698024.tar.gz
freeipa-cf8bab45fc5b4d8390f99818fbf144d666698024.tar.xz
freeipa-cf8bab45fc5b4d8390f99818fbf144d666698024.zip
Fix: make association facets in selfservice readonly
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install')
-rw-r--r--install/ui/src/freeipa/user.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js
index 91be2d0e6..1fdcf25a5 100644
--- a/install/ui/src/freeipa/user.js
+++ b/install/ui/src/freeipa/user.js
@@ -254,25 +254,25 @@ return {
},
{
$type: 'association',
- $post_ops: [ IPA.user.association_facet_ss_post_op ],
+ $pre_ops: [ IPA.user.association_facet_ss_pre_op ],
name: 'memberof_group',
associator: IPA.serial_associator
},
{
$type: 'association',
- $post_ops: [ IPA.user.association_facet_ss_post_op ],
+ $pre_ops: [ IPA.user.association_facet_ss_pre_op ],
name: 'memberof_netgroup',
associator: IPA.serial_associator
},
{
$type: 'association',
- $post_ops: [ IPA.user.association_facet_ss_post_op ],
+ $pre_ops: [ IPA.user.association_facet_ss_pre_op ],
name: 'memberof_role',
associator: IPA.serial_associator
},
{
$type: 'association',
- $post_ops: [ IPA.user.association_facet_ss_post_op ],
+ $pre_ops: [ IPA.user.association_facet_ss_pre_op ],
name: 'memberof_hbacrule',
associator: IPA.serial_associator,
add_method: 'add_user',
@@ -280,7 +280,7 @@ return {
},
{
$type: 'association',
- $post_ops: [ IPA.user.association_facet_ss_post_op ],
+ $pre_ops: [ IPA.user.association_facet_ss_pre_op ],
name: 'memberof_sudorule',
associator: IPA.serial_associator,
add_method: 'add_user',
@@ -288,7 +288,7 @@ return {
}
],
standard_association_facets: {
- $post_ops: [ IPA.user.association_facet_ss_post_op ]
+ $pre_ops: [ IPA.user.association_facet_ss_pre_op ]
},
adder_dialog: {
$factory: IPA.user_adder_dialog,
@@ -411,7 +411,7 @@ IPA.user.details_facet = function(spec) {
/**
* Makes user association facets read-only in self service
*/
-IPA.user.association_facet_ss_post_op = function(spec, context) {
+IPA.user.association_facet_ss_pre_op = function(spec, context) {
var self_service = IPA.is_selfservice;