mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
32b1ffdf89
Summary: Fixes T6567, lets admins set a default policy for new Projects. Test Plan: Changed the default Policy, created a new Project. Project had correct defaults. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6567 Differential Revision: https://secure.phabricator.com/D10890
12 lines
221 B
PHP
12 lines
221 B
PHP
<?php
|
|
|
|
final class ProjectDefaultEditCapability
|
|
extends PhabricatorPolicyCapability {
|
|
|
|
const CAPABILITY = 'project.default.edit';
|
|
|
|
public function getCapabilityName() {
|
|
return pht('Default Edit Policy');
|
|
}
|
|
|
|
}
|