Fix group permissions when editing/adding an Event. Fixes bug #11800.
This commit is contained in:
parent
7d59b7382b
commit
e0eaa2e13f
3 changed files with 10 additions and 3 deletions
|
|
@ -118,6 +118,7 @@ $properties = {
|
|||
%{ $properties },
|
||||
ownerUserId => $user->userId,
|
||||
createdBy => $user->userId,
|
||||
groupIdEdit => '2',
|
||||
};
|
||||
|
||||
cmp_deeply( $event->get, superhashof( $properties ), 'Event properties saved correctly' );
|
||||
|
|
@ -164,6 +165,7 @@ $properties = {
|
|||
%{ $properties },
|
||||
ownerUserId => $user->userId,
|
||||
createdBy => $user->userId,
|
||||
groupIdEdit => '2',
|
||||
};
|
||||
|
||||
cmp_deeply( $event->get, superhashof( $properties ), 'Events properties saved correctly' );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue