Changeset View
Changeset View
Standalone View
Standalone View
src/applications/badges/application/PhabricatorBadgesApplication.php
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | return array( | ||||
'default' => PhabricatorPolicies::POLICY_ADMIN, | 'default' => PhabricatorPolicies::POLICY_ADMIN, | ||||
'caption' => pht('Default create policy for badges.'), | 'caption' => pht('Default create policy for badges.'), | ||||
), | ), | ||||
PhabricatorBadgesDefaultEditCapability::CAPABILITY => array( | PhabricatorBadgesDefaultEditCapability::CAPABILITY => array( | ||||
'default' => PhabricatorPolicies::POLICY_ADMIN, | 'default' => PhabricatorPolicies::POLICY_ADMIN, | ||||
'caption' => pht('Default edit policy for badges.'), | 'caption' => pht('Default edit policy for badges.'), | ||||
'template' => PhabricatorBadgesPHIDType::TYPECONST, | 'template' => PhabricatorBadgesPHIDType::TYPECONST, | ||||
), | ), | ||||
PhabricatorBadgesDefaultViewCapability::CAPABILITY => array( | |||||
'caption' => pht('Default view policy for badges.'), | |||||
'template' => PhabricatorBadgesPHIDType::TYPECONST, | |||||
), | |||||
); | ); | ||||
} | } | ||||
} | } |