Hi maintainer of this amazing module,

For vsf_management we were in need of a more granular permission, so I've created a patch with a couple more permissions.
There is currently no way to give somebody delete file permission without handing them all files permission for all schema's.

  • Added permissions for update/delete per scheme.
  • Added administer all permission per scheme.
  • Added additional docblocks to functions describing attribute types and return types.
  • Add 'Add file' local action if vsf_upload is enabled.

The current `all permission` is still working as before, so there's no migration path needed.

Cheers

Comments

ericclaeren created an issue. See original summary.

ericclaeren’s picture

StatusFileSize
new5.85 KB
rudiedirkx’s picture

Looks good!

You have the commit power. You don't need me anymore.

ericclaeren’s picture

StatusFileSize
new5.45 KB
new2.06 KB

The patch was reviewed and has some minor code readability changes.

mrharolda’s picture

Status: Active » Reviewed & tested by the community

Check! Now wield your power with great care, do not upset the strawberries. ;)

  • ericclaeren authored 7e850ef on 7.x-1.x
    Issue #3029451 by ericclaeren, rudiedirkx: Granular permissions for...
ericclaeren’s picture

Version: 7.x-1.10 » 7.x-1.11
Status: Reviewed & tested by the community » Fixed

  • ericclaeren authored a3de96f on 7.x-1.x
    Issue #3029451 by ericclaeren, rudiedirkx: Granular permissions for...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.