Policy - remove comment to change policy later as its good as is
Summary: Ref T7094#94295. Test Plan: noted the absence of the TODO comment in the diff Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7094 Differential Revision: https://secure.phabricator.com/D11656
This commit is contained in:
@@ -256,8 +256,6 @@ final class PhabricatorRepositoryCommit
|
|||||||
case PhabricatorPolicyCapability::CAN_VIEW:
|
case PhabricatorPolicyCapability::CAN_VIEW:
|
||||||
return $this->getRepository()->getPolicy($capability);
|
return $this->getRepository()->getPolicy($capability);
|
||||||
case PhabricatorPolicyCapability::CAN_EDIT:
|
case PhabricatorPolicyCapability::CAN_EDIT:
|
||||||
// TODO: (T603) Who should be able to edit a commit? For now, retain
|
|
||||||
// the existing policy.
|
|
||||||
return PhabricatorPolicies::POLICY_USER;
|
return PhabricatorPolicies::POLICY_USER;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user