Page MenuHomec4science

ProjectCreateProjectsCapability.php
No OneTemporary

File Metadata

Created
Fri, Nov 29, 16:48

ProjectCreateProjectsCapability.php

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

Event Timeline