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

Hide guest publishing option when guest login is disabled

    XMLWordPrintable

    Details

      Description

      Using the property login.enableGuestLoginLinks=false the LoginModule can be configured to allow / disallow login for unregistered guest users. It is a system-wide configuration option.

      While this option safely keeps anonymous users out of the system, within the repository configuration it is still possible to publish courses for guests which makes no sense. The goal of this issue is to hide this publishing option when there are actually no guests allowed in the system.

      When LoginModule.isGuestLoginLinksEnabled() == false to the following:

      • Check all access to repositoryEntry.getAccess() >= RepositoryEntry.ACC_USERS_GUESTS and subtract the guest access. Alternatively modify the repositoryEntry.getAccess() method to transparently fix this for all callings of the method
      • Remove the BARG option from all GUI elements (DetailsReadOnlyForm, DisplayInfoForm etc).
      • For resources with BARG settings, make sure it translates to behaves like BAR setting

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              gnaegi Florian Gnägi
              Tester:
              Joël Krähemann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 51 minutes Time Not Required
                1h 51m