Closed vincentchalamon closed 4 years ago
The following:
@IsGranted(CommissionableAssetVoter::CAN_EDIT, subject="asset") @Security("asset.organization.id == organization")
could be replaced by:
@Security("asset.organization.id == organization and is_granted('CAN_EDIT', asset)")
The following:
could be replaced by: