mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 02:42:40 +01:00
c34de83619
Summary: Ref T5655. Rename `PhabricatorPolicyCapability` subclasses for consistency. Test Plan: Browsed a few applications, nothing seemed broken. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin, hach-que Maniphest Tasks: T5655 Differential Revision: https://secure.phabricator.com/D10037
18 lines
363 B
PHP
18 lines
363 B
PHP
<?php
|
|
|
|
final class PhabricatorPolicyCanJoinCapability
|
|
extends PhabricatorPolicyCapability {
|
|
|
|
public function getCapabilityKey() {
|
|
return self::CAN_JOIN;
|
|
}
|
|
|
|
public function getCapabilityName() {
|
|
return pht('Can Join');
|
|
}
|
|
|
|
public function describeCapabilityRejection() {
|
|
return pht('You do not have permission to join this object.');
|
|
}
|
|
|
|
}
|