parent
f5587ac477
commit
f11c34e9cd
|
@ -467,12 +467,14 @@ sub attributes {
|
|||
type => 'boolOrExpr',
|
||||
default => 0,
|
||||
documentation => 'Impersonation activation rule',
|
||||
flags => 'p',
|
||||
},
|
||||
impersonationIdRule => {
|
||||
type => 'text',
|
||||
test => sub { return perlExpr(@_) },
|
||||
default => 1,
|
||||
documentation => 'Impersonation identities rule',
|
||||
flags => 'p',
|
||||
},
|
||||
impersonationHiddenAttributes => {
|
||||
type => 'text',
|
||||
|
@ -490,24 +492,21 @@ sub attributes {
|
|||
type => 'boolOrExpr',
|
||||
default => 0,
|
||||
documentation => 'Context switching activation rule',
|
||||
flags => 'p',
|
||||
},
|
||||
contextSwitchingIdRule => {
|
||||
type => 'text',
|
||||
test => sub { return perlExpr(@_) },
|
||||
default => 1,
|
||||
documentation => 'Context switching identities rule',
|
||||
flags => 'p',
|
||||
},
|
||||
contextSwitchingStopWithLogout => {
|
||||
type => 'bool',
|
||||
default => 1,
|
||||
documentation => 'Stop context switching by logout',
|
||||
flags => 'p',
|
||||
},
|
||||
# contextSwitchingHiddenAttributes => {
|
||||
# type => 'text',
|
||||
# default => '',
|
||||
# documentation => 'Attributes to skip',
|
||||
# flags => 'p',
|
||||
# },
|
||||
skipRenewConfirmation => {
|
||||
type => 'bool',
|
||||
default => 0,
|
||||
|
|
|
@ -55,7 +55,7 @@ sub init {
|
|||
}
|
||||
$self->idRule($rule);
|
||||
$self->sorted( $self->conf->{impersonationRule}
|
||||
|| $self->conf->{contextSwitchingIdRule} );
|
||||
|| $self->conf->{contextSwitchingRule} );
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,11 +25,6 @@ has ott => (
|
|||
has rule => ( is => 'rw', default => sub { 1 } );
|
||||
has idRule => ( is => 'rw', default => sub { 1 } );
|
||||
|
||||
sub hAttr {
|
||||
$_[0]->{conf}->{contextSwitchingHiddenAttributes} . ' '
|
||||
. $_[0]->{conf}->{hiddenAttributes};
|
||||
}
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
my $hd = $self->p->HANDLER;
|
||||
|
|
Loading…
Reference in New Issue
Block a user