mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-26 21:49:08 +01:00
Summary: Ref T3116. User request / generally modern feature. Test Plan: Set defaults to whacky projects and created a new document; it defaulted appropriately. Reviewers: btrahan Reviewed By: btrahan CC: aran, allan.laal Maniphest Tasks: T3116 Differential Revision: https://secure.phabricator.com/D8110
20 lines
371 B
PHP
20 lines
371 B
PHP
<?php
|
|
|
|
final class LegalpadCapabilityDefaultView
|
|
extends PhabricatorPolicyCapability {
|
|
|
|
const CAPABILITY = 'legalpad.default.view';
|
|
|
|
public function getCapabilityKey() {
|
|
return self::CAPABILITY;
|
|
}
|
|
|
|
public function getCapabilityName() {
|
|
return pht('Default View Policy');
|
|
}
|
|
|
|
public function shouldAllowPublicPolicySetting() {
|
|
return true;
|
|
}
|
|
|
|
}
|