fixed: Thingy: Problem with delete Thing permissions
This commit is contained in:
parent
f3fa93be77
commit
94209d6edb
2 changed files with 2 additions and 1 deletions
|
|
@ -51,6 +51,7 @@
|
|||
- added: Ability to enable/disable Thread archiving on a per-Collaboration
|
||||
basis
|
||||
- fixed: Thingy Thing Checkbox/Checklist/Selectbox/Selectlist limitations
|
||||
- fixed: Thingy: Problem with delete Thing permissions
|
||||
|
||||
|
||||
7.5.10
|
||||
|
|
|
|||
|
|
@ -1159,7 +1159,7 @@ sub www_deleteThingDataConfirm {
|
|||
my $thingId = $self->session->form->process("thingId");
|
||||
my $thingDataId = $self->session->form->process('thingDataId');
|
||||
|
||||
my ($groupIdEdit) = $db->quickHash("select groupIdEdit from Thingy_things where thingId=?",[$thingId]);
|
||||
my ($groupIdEdit) = $db->quickArray("select groupIdEdit from Thingy_things where thingId=?",[$thingId]);
|
||||
return $self->session->privilege->insufficient() unless $self->hasPrivileges($groupIdEdit);
|
||||
|
||||
$self->deleteCollateral("Thingy_".$thingId,"thingDataId",$thingDataId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue