1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/project/capability/ProjectCreateProjectsCapability.php

17 lines
343 B
PHP
Raw Normal View History

<?php
final class ProjectCreateProjectsCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'project.create';
public function getCapabilityName() {
return pht('Can Create Projects');
}
public function describeCapabilityRejection() {
return pht('You do not have permission to create new projects.');
}
}