mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 11:22:40 +01:00
f98f5a081e
Summary: This allows installs to essentially set a "moderator" for Ponder, who can clean up answers. Fixes T9098 Test Plan: Edit an answer I don't own. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9098 Differential Revision: https://secure.phabricator.com/D13818
16 lines
294 B
PHP
16 lines
294 B
PHP
<?php
|
|
|
|
final class PonderDefaultViewCapability
|
|
extends PhabricatorPolicyCapability {
|
|
|
|
const CAPABILITY = 'ponder.default.view';
|
|
|
|
public function getCapabilityName() {
|
|
return pht('Default View Policy');
|
|
}
|
|
|
|
public function shouldAllowPublicPolicySetting() {
|
|
return true;
|
|
}
|
|
|
|
}
|