1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +01:00
phorge-phorge/webroot/rsrc
epriestley 3f8e5c9620 Straighten out reorder permissions on form configurations
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.

Reviewers: chad

Reviewed By: chad

Subscribers: Luke081515.2

Maniphest Tasks: T10012

Differential Revision: https://secure.phabricator.com/D14824
2015-12-19 07:36:00 -08:00
..
css Straighten out reorder permissions on form configurations 2015-12-19 07:36:00 -08:00
externals Give custom controls passable disabled states 2015-12-17 15:13:28 -08:00
favicons Add mask-icon for Safari pinned tab 2015-11-22 13:04:06 -08:00
image Actual 2x avatar, new profile picture options 2015-12-04 13:24:25 -08:00
js Give custom controls passable disabled states 2015-12-17 15:13:28 -08:00