1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/applications/spaces/capability/PhabricatorSpacesCapabilityCreateSpaces.php

17 lines
342 B
PHP
Raw Normal View History

<?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.');
}
}