cubicweb-collaboration #3670482 Too strong a selector in the `Unfreeze` action [validation pending]
Indeed, has_permission('update') will not fire once the entity is frozen, because of the CanEditContainerHook hook which, once the entity is frozen, revokes the write permission of the current user, in the CannotEditContainerOperation operation.
Hence, a match_user_groups('owners') would suffice to allow for the unfreeze action to be available, since it suffices to be the owner of a non-cloned frozen entity, to be able to unfreeze it.
|closed by||#26189b42475b [views] Relax the selector on the Unfreeze action (closes #3670482).|
|patch||[views] Relax the selector on the Unfreeze action (closes #3670482). [applied]|