Merge pull request #1448 from nasia-sam/cfp_access_to_schedule

Add permission to access admin/shedule by cfp #1432
This commit is contained in:
Stella Rouzi 2017-04-14 17:14:21 +03:00 committed by GitHub
commit 92cb010cc6
3 changed files with 4 additions and 3 deletions

View file

@ -274,7 +274,7 @@ describe 'User' do
it{ should_not be_able_to(:manage, conference_public.questions.first) }
it{ should be_able_to(:manage, my_conference.program.cfp) }
it{ should_not be_able_to(:manage, conference_public.program.cfp) }
it{ should_not be_able_to(:manage, my_schedule) }
it{ should be_able_to(:manage, my_schedule) }
it{ should_not be_able_to(:manage, other_schedule) }
it{ should_not be_able_to(:manage, my_event_schedule) }
it{ should_not be_able_to(:manage, other_event_schedule) }