mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +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;
|
||
|
}
|
||
|
|
||
|
}
|