mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-13 18:32:41 +01:00
99ab11e97c
Summary: Similar to D8110, but for Pholio. Also an IRC user request. Test Plan: Set setting to something unusual, created a new mock. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D8111
20 lines
367 B
PHP
20 lines
367 B
PHP
<?php
|
|
|
|
final class PholioCapabilityDefaultView
|
|
extends PhabricatorPolicyCapability {
|
|
|
|
const CAPABILITY = 'pholio.default.view';
|
|
|
|
public function getCapabilityKey() {
|
|
return self::CAPABILITY;
|
|
}
|
|
|
|
public function getCapabilityName() {
|
|
return pht('Default View Policy');
|
|
}
|
|
|
|
public function shouldAllowPublicPolicySetting() {
|
|
return true;
|
|
}
|
|
|
|
}
|