mirror of
https://we.phorge.it/source/phorge.git
synced 2025-04-08 02:18:33 +02:00
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:
parent
53d7868c6d
commit
dd814decbc
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue