canvas-lms/app/helpers
Jeremy Stanley 9d3aa1004e ensure account nav tabs change in response to permissions
test plan:
 1. have a user in an account role that grants "manage outcomes"
 2. as this user, view the outcomes page
 3. modify the role to revoke the "manage outcomes" right
 4. wait one hour for various caches to expire
 5. ensure that:
   a) the Outcomes tab no longer appears in the account page
      left nav
   b) visiting the page manually (/accounts/X/outcomes)
      gives a flash message that the outcomes page can't be
      accessed and redirects to the main account page

fixes CNVS-15396
fixes CNVS-15608

Change-Id: Ie0a38c9663c0661cd32f3c35dad0e503063fb5f1
Reviewed-on: https://gerrit.instructure.com/41095
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jon Willesen <jonw@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2014-09-18 14:27:15 +00:00
..
account_notification_helper.rb Notification icons will now look pretty for admins 2014-08-11 20:38:18 +00:00
accounts_helper.rb Show term info when you show course name, fixes #6837 2012-05-01 13:04:49 -06:00
application_helper.rb ensure account nav tabs change in response to permissions 2014-09-18 14:27:15 +00:00
assignments_helper.rb correctly show completion icons on peer review listings 2014-05-15 21:10:50 +00:00
attachment_helper.rb remove scribd 2014-09-11 18:42:15 +00:00
avatar_helper.rb profile: display profile pic rounded, as elsewhere 2014-04-29 20:29:45 +00:00
calendar_events_helper.rb Re-enable a "show" page for Calendar Events. Fixes #CNVS-1229 2013-01-14 10:28:47 -07:00
calendars_helper.rb extract color gem 2014-02-27 17:38:32 +00:00
communication_channels_helper.rb make CommunicationChannelsController#confirm sharding-aware 2012-11-12 10:34:09 -07:00
content_imports_helper.rb make new migration UI the default 2013-07-08 17:19:06 +00:00
context_modules_helper.rb add menu tool links to gear menus on modules index 2014-08-27 14:25:27 +00:00
conversations_helper.rb add multiple students to an observer in the UI, closes #7768 2012-07-16 15:48:27 -06:00
courses_helper.rb remove unused code 2014-01-24 17:54:08 +00:00
dashboard_helper.rb add :preload_courses option to User#cached_current_enrollments 2014-08-27 14:04:25 +00:00
discussion_topics_helper.rb Update title for discussions and announcements 2014-05-12 15:45:12 +00:00
eportfolios_helper.rb escape translations when manually building html, fixes CNVS-10769 2014-01-27 23:25:52 +00:00
gradebooks_helper.rb Partially graded quizzes don't show score in gradebook or grade summary 2014-09-15 21:53:34 +00:00
groups_helper.rb group profile page 2012-06-07 02:00:06 -06:00
hmac_helper.rb get instead of post to create crocodoc_sessions 2014-06-17 20:23:21 +00:00
kaltura_helper.rb canvas kaltura gem 2014-04-16 19:39:45 +00:00
pseudonym_sessions_helper.rb Allow accounts to specify session timeout time 2012-11-16 09:35:48 -07:00
quizzes_helper.rb Incorrect output in quiz review when Equation object is present 2014-08-19 22:41:54 +00:00
search_helper.rb clean up permission calls for grants_rights? 2014-06-19 18:10:30 +00:00
self_enrollments_helper.rb self-enrollment API, fixes CNVS-10419 2014-01-15 21:17:04 +00:00
stream_items_helper.rb give more access to peer reviews 2014-08-08 16:18:45 +00:00
user_notes_helper.rb i18n user_notes 2011-06-22 09:42:41 -06:00
wiki_pages_helper.rb Initial commit. 2011-01-31 18:57:29 -07:00