Moodle
  1. Moodle
  2. MDL-30036

With many roles, 'Allow role assignments' page is too large for browser window and roles end up off-page, with no horrizontal scrolling to view/select.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.1.2
    • Fix Version/s: None
    • Component/s: Roles / Access
    • Labels:
      None
    • Database:
      Any
    • Workaround:
      Hide

      None

      Show
      None
    • URL:
      /admin/roles/allow.php?mode=assign
    • Affected Branches:
      MOODLE_21_STABLE
    • Rank:
      19578

      Description

      With many roles, 'Allow role assignments' page is too large for browser window and roles end up off-page, with no horrizontal scrolling to view/select.

      • see: /admin/roles/allow.php?mode=assign

        Issue Links

          Activity

          Brent Boghosian created issue -
          Brent Boghosian made changes -
          Field Original Value New Value
          Priority Minor [ 4 ] Critical [ 2 ]
          Hide
          Daniel Kaelin added a comment - - edited

          I am having this exact same problem myself. I have attached a screenshot. The screenshot was taken with the built in boxxie theme.

          It may not be readily apparent but the portal has about 20 roles and after a certain number of columns it is cut off.

          Show
          Daniel Kaelin added a comment - - edited I am having this exact same problem myself. I have attached a screenshot. The screenshot was taken with the built in boxxie theme. It may not be readily apparent but the portal has about 20 roles and after a certain number of columns it is cut off.
          Daniel Kaelin made changes -
          Attachment screenshot-1.jpg [ 29661 ]
          Hide
          Daniel Kaelin added a comment -

          You can fix this by modifying the code on line 68 of allow.php. Located in wwwroot/admin/roles

          Change

          echo '<form action="' . $baseurl . '" method="post">';

          to

          echo '<form style="overflow: auto;" action="' . $baseurl . '" method="post">';

          As long as you don't mind modifying the base code. A similar fix should be rolled into the moodle base.

          Show
          Daniel Kaelin added a comment - You can fix this by modifying the code on line 68 of allow.php. Located in wwwroot/admin/roles Change echo '<form action="' . $baseurl . '" method="post">'; to echo '<form style="overflow: auto;" action="' . $baseurl . '" method="post">'; As long as you don't mind modifying the base code. A similar fix should be rolled into the moodle base.
          Justin Filip made changes -
          Link This issue has a non-specific relationship to MDL-40338 [ MDL-40338 ]
          Hide
          Petr Škoda added a comment -

          I believe this was already partially resolved in latest 2.6dev (master branch), it is now possible to both view and modify the allow* role when editing individual roles.

          Show
          Petr Škoda added a comment - I believe this was already partially resolved in latest 2.6dev (master branch), it is now possible to both view and modify the allow* role when editing individual roles.

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: