Home GnuPG

Clean up "reorder" permissions in MenuEngine for personal favorites
9829ecddd695Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Clean up "reorder" permissions in MenuEngine for personal favorites

Summary:
Fixes T12159. This is similar to D17228, which fixed this for the main configuration operation.

Most other edit operations only test for edit capability on the MenuItem itself, which we already do correctly. However, because reordering affects all items, we test for capability on the object.

Weaken this when reordering custom items.

Test Plan: Reordered custom items in Favorites as a non-administrator.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12159

Differential Revision: https://secure.phabricator.com/D17257

Details

Provenance
epriestley <git@epriestley.com>Authored on Jan 27 2017, 4:42 AM
Parents
rPHABbee043b16362: Display paste line count alongside snippets
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHAB9829ecddd695: Clean up "reorder" permissions in MenuEngine for personal favorites (authored by epriestley <git@epriestley.com>).Jan 27 2017, 4:47 AM