Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4049

Config option to disable user portrait image file upload

    XMLWordPrintable

    Details

      Description

      In the user profile the user can upload his avatar / portrait image. When the system is attached to an external management system that creates users via REST API and also uploads the user image via REST, it might not make sense to allow users to change their image within OpenOlat. 

      A new config option in olat.properties is implemented to disable the user upload of the portrait image

       

      # Set to false to make user portrait / avatar image read-only 
      # Does not apply to users with administrator role in usermanagement
      user.portrait.managed=false

      In the ProfileFormController the portraitUpload is set to disabled when managed. 

       

       


       

      internal: report to https://office.bexio.com/index.php/pr_project/listMonitoring/projectId/3

        Attachments

          Activity

            People

            • Assignee:
              uhensler Urs Hensler
              Reporter:
              gnaegi Florian Gnägi
              Tester:
              Mandy Menzel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m