Page MenuHomePhabricator

Straighten out reorder permissions on form configurations
ClosedPublic

Authored by epriestley on Dec 19 2015, 2:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 9:12 PM
Unknown Object (File)
Sat, Nov 23, 4:59 AM
Unknown Object (File)
Thu, Nov 21, 4:48 PM
Unknown Object (File)
Nov 17 2024, 4:11 PM
Unknown Object (File)
Nov 14 2024, 7:55 AM
Unknown Object (File)
Nov 9 2024, 9:58 PM
Unknown Object (File)
Nov 6 2024, 12:01 PM
Unknown Object (File)
Oct 25 2024, 6:11 AM
Subscribers

Details

Summary

Fixes T10012. The permissions here are little weird: you need edit permission on the configurations, not the engines. I was checking edit permission on the engines only.

I should possibly make this a bit more consistent, the engine edit permission is just very convenient to use to enforce object create permission right now. I'll likely clean this up after T9789.

Test Plan
  • Tried to reorder forms as a less-privileged user, got proper policy errors.
  • Reordered forms normally as a regular user.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Straighten out reorder permissions on form configurations.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Dec 19 2015, 3:33 PM
This revision was automatically updated to reflect the committed changes.