Homec4science

Give Owners real view and edit policies

Authored by epriestley <git@epriestley.com> on Feb 15 2016, 20:37.

Description

Give Owners real view and edit policies

Summary: Fixes T10360. In modern code, most of the meat is automatic.

Test Plan:

  • Edited view policy and edit policy from web UI.
  • Viewed package, saw policy badge in header.
  • Tried to edit a package as a user without permission, got appropriate disabled states and errors.
  • Changed policies via Conduit.
  • Tried to view a package as a user without permission.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10360

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

Details

Committed
epriestley <git@epriestley.com>Feb 15 2016, 20:56
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf1f8ee8e6ad5: Improve subproject/milestone error handling for users who can't create projects
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH71ee97d74f73: Give Owners real view and edit policies (authored by epriestley <git@epriestley.com>).Feb 15 2016, 20:56