Page MenuHomec4science

PhabricatorPolicyCanViewCapability.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 20:42

PhabricatorPolicyCanViewCapability.php

<?php
final class PhabricatorPolicyCanViewCapability
extends PhabricatorPolicyCapability {
public function getCapabilityKey() {
return self::CAN_VIEW;
}
public function getCapabilityName() {
return pht('Can View');
}
public function describeCapabilityRejection() {
return pht('You do not have permission to view this object.');
}
public function shouldAllowPublicPolicySetting() {
return true;
}
}

Event Timeline