Problem/Motivation

User that are allowed to edit/view/manage quizzes and/or questions and/or results but don't have the "administer quiz" permission, it is hard for those users to find the appropriate administration pages, as pages like /admin/quiz and /admin/quiz/reports are only accessible to users with the "administer quiz" module

Proposed resolution

Use another permission for those overview/menu block pages.

Comments

casey created an issue. See original summary.

casey’s picture

Status: Active » Needs review
StatusFileSize
new1.78 KB

This patch uses the "access administration pages" permission provided by core's system module.

When used with the admin_toolbar_links_access_filter modules (submodule of admin_toolbar) the pages without accessible child pages are automatically hidden.

golddragon007’s picture

Status: Needs review » Needs work
StatusFileSize
new3.66 KB

There's more problem here, the collection pages are also available only with the 'administer quiz' permission which is not correct, as the user has to have access in some sort to a content overview page (like in the node case). This patch seems to fix it which I attach, but I think there's more issue here.

smustgrave’s picture

Version: 6.x-dev » 7.0.x-dev
Issue tags: +Needs tests

Lets add test coverage for this.

smustgrave’s picture

Status: Needs work » Postponed (maintainer needs more info)

Since there has been no activity wonder if still a needed feature?

smustgrave’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)