-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.5, 2.6.2, 2.7, 2.8
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
45209-28
-
If a user has the ability to create courses, but not the ability to configure the site, the "Administration" link in the breadcrumbs on the "edit course" page is linked, but the destination of the link is unavailable.
To reproduce
- Create a user
- Assign the user the "Course creator" role at the system level
- Login as the user
- Click Site Admin > Courses > Manage courses and categories
- Click the miscellaneous category
- Click "Create new course"
- The breadcrumbs is now: Home ► Administration ► Course categories ► Add a new course. Click "Administration".
What happens
The link gives an error:
You get an error: Sorry, but you do not currently have permissions to do that (Change site configuration)
What should happen
The "administration" breadcrumb should not be a link if you don't have permission to view it.