Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-25451

The English string $string['notabletoassignroleshere'] is not clear enough

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0
    • 2.0
    • Language
    • MOODLE_20_STABLE
    • MOODLE_30_STABLE
    • wip-MDL-25451-master
    • Hide
      1. By default there are no roles that can be assigned in block context
      2. Login as teacher, go to the course, turn editing mode on
      3. Make sure the 'Permissions' item appears in each block's settings and you can navigate there and change permissions. The item "Assign roles in ... block" should never appear
      4. As admin edit student or non-editing teacher role and check the box "Block" for the "Context types where this role may be assigned" setting.
      5. Login as teacher, go to the course, turn editing mode on
      6. Make sure the "Assign roles in ... block" appears under the block settings, you can navigate there and then jump to permissions through block settings menu. Remember the URL of the "Assign roles" page
      7. As admin remove the "Block" checkbox you added above
      8. Login as teacher, go to the course, turn editing mode on
      9. Paste URL from above and make sure that error message suggests you to contact administrator
      Show
      By default there are no roles that can be assigned in block context Login as teacher, go to the course, turn editing mode on Make sure the 'Permissions' item appears in each block's settings and you can navigate there and change permissions. The item "Assign roles in ... block" should never appear As admin edit student or non-editing teacher role and check the box "Block" for the "Context types where this role may be assigned" setting. Login as teacher, go to the course, turn editing mode on Make sure the "Assign roles in ... block" appears under the block settings, you can navigate there and then jump to permissions through block settings menu. Remember the URL of the "Assign roles" page As admin remove the "Block" checkbox you added above Login as teacher, go to the course, turn editing mode on Paste URL from above and make sure that error message suggests you to contact administrator

      If you want to assign a role at block level, admin has to allow this before.
      If the administrator doesn't allow this, during roles assignment at block level the string $string['notabletoassignroleshere'] is displayed.

      The content of the string reports: 'You are not able to assign any roles here'.

      IMHO this string is not correct because it is not clear if the deny comes from a bug of moodle or it belongs to a plan.

      Still IMHO the string should sound like: 'The assign of any roles at this level has not been allowed. Please contact administrator to ask for it' (I apologise if this is not correct English)

      In italian: $string['notabletoassignroleshere'] = 'Non รจ stata abilitata l\'assegnazione dei ruoli in questo contesto. Contatta l\'amministratore di sistema per chiederne l\'abilitazione';

            marina Marina Glancy
            daniss Daniele Cordella
            Adrian Greeve Adrian Greeve
            Dan Poltawski Dan Poltawski
            Damyon Wiese Damyon Wiese
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.