fix permissions while editing pads

currently, simplesaml users that get their permissions assigned
by local group assignment, cannot edit the pad due to the wrong
variable name.