Add content curation perk

This commit is contained in:
Zachary Doll 2014-08-26 21:49:51 -05:00
parent d3d0f3add7
commit 23c43a8bc3
2 changed files with 4 additions and 0 deletions

View File

@ -115,9 +115,11 @@ $Definition['Yaga.LeaderBoard.Year'] = "This Years's Leaders";
// Perks
$Definition['Yaga.Perks'] = 'Perks';
$Definition['Yaga.Perks.Curation'] = 'Content Curation';
$Definition['Yaga.Perks.EditTimeout'] = 'Edit Timeout';
$Definition['Yaga.Perks.Emoticons'] = 'Format Emoticons';
$Definition['Yaga.Perks.MeActions'] = 'Format /me Actions';
$Definition['Yaga.Perks.Signatures'] = 'Edit Signature';
$Definition['Yaga.Perks.Tags'] = 'Add Tags';
// Ranks

View File

@ -70,6 +70,8 @@ echo $this->Form->Errors();
'2592000' => sprintf(T('Authors may edit for %s'), T('1 month')),
'-1' => T('Authors may always edit')));
RenderPerkPermissionForm('Garden.Curation.Manage', 'Yaga.Perks.Curation');
RenderPerkPermissionForm('Plugins.Signatures.Edit', 'Yaga.Perks.Signatures');
RenderPerkPermissionForm('Plugins.Tagging.Add', 'Yaga.Perks.Tags');