mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
17 lines
342 B
PHP
17 lines
342 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorSpacesCapabilityCreateSpaces
|
||
|
extends PhabricatorPolicyCapability {
|
||
|
|
||
|
const CAPABILITY = 'spaces.create';
|
||
|
|
||
|
public function getCapabilityName() {
|
||
|
return pht('Can Create Spaces');
|
||
|
}
|
||
|
|
||
|
public function describeCapabilityRejection() {
|
||
|
return pht('You do not have permission to create spaces.');
|
||
|
}
|
||
|
|
||
|
}
|