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