Temporary fix for the Calendar for now.
This commit is contained in:
parent
f56bac9948
commit
e0b5f79d6d
1 changed files with 3 additions and 3 deletions
|
|
@ -450,7 +450,7 @@ the calendar, or the group that can edit events in the calendar).
|
|||
|
||||
=cut
|
||||
|
||||
override canAddEvent => sub {
|
||||
sub canAddEvent {
|
||||
my $self = shift;
|
||||
my $userId = shift;
|
||||
|
||||
|
|
@ -461,9 +461,9 @@ override canAddEvent => sub {
|
|||
|
||||
return 1 if (
|
||||
$user->isInGroup( $self->groupIdEventEdit )
|
||||
|| super();
|
||||
|| $self->SUPER::canEdit($userId)
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue