mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-02 09:58:24 +01:00
21 lines
373 B
PHP
21 lines
373 B
PHP
|
<?php
|
||
|
|
||
|
final class DiffusionCapabilityDefaultView
|
||
|
extends PhabricatorPolicyCapability {
|
||
|
|
||
|
const CAPABILITY = 'diffusion.default.view';
|
||
|
|
||
|
public function getCapabilityKey() {
|
||
|
return self::CAPABILITY;
|
||
|
}
|
||
|
|
||
|
public function getCapabilityName() {
|
||
|
return pht('Default View Policy');
|
||
|
}
|
||
|
|
||
|
public function shouldAllowPublicPolicySetting() {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
}
|