canvas-lms/app/views/shared
James Williams 4f8db4801a prevent disallowed users from editing name and title in profile
test plan:
* in the account settings, check "Enable Profiles", and
uncheck "Users can edit display name"
* as a non-admin user, go to your user profile page
 ("/about/:user_id"), and click "Edit Profile"
* should not allow you to edit your name or title

fixes #CNVS-2583

Change-Id: Ib5ade72bcfbcd9bc89070888db46586e687fc812
Reviewed-on: https://gerrit.instructure.com/33987
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
2014-05-01 12:20:23 +00:00
..
errors outcome gradebook: add export link 2014-03-28 20:37:03 +00:00
_account_notification.html.erb interpolate account domain in announcements 2014-01-09 21:52:36 +00:00
_account_options.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_accounts_right_side_shared.html.erb removes unnecessary shared/_accounts_right_side_shared js_block 2014-02-05 22:01:34 +00:00
_add_assignment.html.erb convert legacy/add_assignment from bundle 2014-03-13 23:25:41 +00:00
_add_assignment_group.html.erb change block helpers for rails 3.2 compatibility 2013-10-11 23:09:37 +00:00
_assignment.html.erb VDD rendering on assignments index 2013-11-22 21:09:11 +00:00
_assignment_group.html.erb Fully adopt Bootstrap & update css to work with it, closes: #CNVS-1344 2013-02-28 21:06:45 -07:00
_assignment_rubric_dialog.html.erb fix bootstrapping of root outcome groups to rubric dialog 2013-03-09 17:31:05 -07:00
_blank.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_conference.html.erb replace all .button(s) with .btn 2012-11-14 13:29:30 -07:00
_current_enrollment.html.erb include unpublished with future courses on course index 2013-03-01 15:49:11 -07:00
_custom_search_results.html.erb AMD Conversion 2012-02-06 16:41:40 -07:00
_dashboard_invitation.html.erb change block helpers for rails 3.2 compatibility 2013-10-11 23:09:37 +00:00
_dashboard_messages.html.erb add scheduling support to conferences 2013-12-17 23:46:41 +00:00
_discussion_entry.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_embedded_chat.html.erb chat: fix race condition in displaying mini chat frame 2013-10-15 22:47:22 +00:00
_enrollment.html.erb change block helpers for rails 3.2 compatibility 2013-10-11 23:09:37 +00:00
_event_list.html.erb Misc remaining icon replacement 2012-12-05 15:43:19 -07:00
_find_outcome.html.erb replace all .button(s) with .btn 2012-11-14 13:29:30 -07:00
_flash_notice.html.erb change styling for flash messages (includes a new info style) 2013-10-04 21:44:19 +00:00
_flash_notices.html.erb remove the new polite screenreader message type 2013-11-21 15:50:01 +00:00
_footer_links.html.erb More simple footer links 2011-02-03 10:24:15 -07:00
_global_dialogs.html.erb replace all .button(s) with .btn 2012-11-14 13:29:30 -07:00
_grading_standard.html.erb gpa scale grading standard 2014-04-10 16:00:28 +00:00
_home_menu.html.erb course top nav link goes to /courses 2013-10-15 19:08:07 +00:00
_identity.html.erb new profile page closes #9369 2012-07-27 10:56:10 -06:00
_inline_preview.html.erb convert shared/_inlined_preview js_block into js_bundle 2014-02-14 21:42:56 +00:00
_invitation.html.erb change block helpers for rails 3.2 compatibility 2013-10-11 23:09:37 +00:00
_javascript_init.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_keyboard_navigation_hint.html.erb accessibility changes for keyboard shortcuts on course assignments page 2013-01-18 12:08:08 -07:00
_locale_warning.html.erb add warning popover for 'crowdsourced' locales 2013-05-31 18:44:30 +00:00
_login.html.erb move login js from js_block to bundle, fixes CNVS-10544 2014-01-17 19:27:54 +00:00
_login_trailer.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_menu_account.html.erb don't use presence/absence of root_account(_id) to determine if an account is a root account 2012-01-03 11:47:22 -07:00
_menu_assignment.html.erb rails3: select() is ignored when combined with includes() in AREL 2014-02-20 23:15:28 +00:00
_menu_course.html.erb added favorite courses option to main menu 2011-10-24 15:50:34 -06:00
_menu_courses.html.erb favorite courses customization accessibility 2013-11-22 00:34:28 +00:00
_menu_group_membership.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_menu_section.html.erb fix various heading style problems 2013-05-23 18:53:53 +00:00
_message_students.html.erb gradebook: create separate conversations when messaging 2013-10-18 20:01:57 +00:00
_mute_dialog.html.erb add "mute" function to assignments. fixes #5101 2011-09-30 17:28:25 -06:00
_new_course_form.html.erb fix checkbox and radio button labels 2014-04-18 20:45:02 +00:00
_no_recent_activity.html.erb new dashboard design 2012-11-11 21:56:16 -07:00
_override_list.html.erb make fancy midnight work for assignment overrides 2013-03-07 15:53:06 -07:00
_pending_enrollment.html.erb update CouseDesignerEnrollment to DesignerEnrollment 2012-04-30 13:23:55 -06:00
_profile.html.erb prevent disallowed users from editing name and title in profile 2014-05-01 12:20:23 +00:00
_recent_activity.html.erb improve accessibility on dashboard Recent Activity 2013-09-04 15:02:00 +00:00
_recent_activity_item.html.erb improve accessibility on dashboard Recent Activity 2013-09-04 15:02:00 +00:00
_report_error.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_right_side.html.erb i18n various and sundry shared views 2011-07-01 15:20:38 -06:00
_rubric.html.erb makes scoring details and rubric accessible 2013-12-18 14:19:15 +00:00
_rubric_criterion.html.erb escape translations when manually building html, fixes CNVS-10769 2014-01-27 23:25:52 +00:00
_rubric_criterion_dialog.html.erb manage focus with rubrics in speedgrader 2013-10-18 17:16:51 +00:00
_rubric_dialog.html.erb replace all .button(s) with .btn 2012-11-14 13:29:30 -07:00
_rubric_forms.html.erb Fully adopt Bootstrap & update css to work with it, closes: #CNVS-1344 2013-02-28 21:06:45 -07:00
_rubric_summary.html.erb fix rubric table headers accessibility 2013-10-11 22:44:34 +00:00
_rubric_summary_criterion.html.erb extract lib/text_helper to gems/canvas_text_helper 2014-04-30 15:18:40 +00:00
_select_content_dialog.html.erb fix "New Assignment" option in module content dialog 2014-04-30 17:27:01 +00:00
_sequence_footer.html.erb use the draft state sequence footer for files, tools, links 2014-03-26 18:12:22 +00:00
_sub_account_options.html.erb Initial commit. 2011-01-31 18:57:29 -07:00
_submission_comment.html.erb shared views _s* i18n 2011-07-06 10:00:29 -06:00
_user_lists.html.erb course settings have a number of accessibility issues 2012-11-05 14:05:28 -07:00
_vdd_tooltip.html.erb multiple due date summary tooltip 2013-04-02 18:47:35 +00:00
_wiki_image.html.erb re-work wiki sidebar fixes #3975 2011-07-25 14:55:10 -06:00
_wiki_sidebar.html.erb add correct html roles for wiki sidebar links tab 2014-03-06 22:05:43 +00:00
_zip_file_import_form.html.erb extract auto_handle to new canvas_uuid gem 2014-02-25 19:30:59 +00:00
registration_incomplete.html.erb in-page chat widget part 1 2013-09-06 23:19:02 +00:00
terms_required.html.erb make terms-of-use enforcement configurable 2013-08-01 21:06:22 +00:00
unauthorized.html.erb Add optional parent coenrolment banner on /login page 2013-12-10 18:22:33 +00:00
unauthorized_feed.html.erb i18n shared partials 2011-07-05 14:45:07 -06:00