It would be very fine to be able to give access to some admin section to specific user or role. For example, I would like the 'manager' role to be able to admin blocks for example or themes.

I could be some kind of url based access that would be put after the current authorization process. Before displaying the "access denied" message, check if that user has access to that URL and allow him to go through in that case.

What do you think about it ?

Comments

greggles’s picture

Category: feature » support

I believe that the feature you are describing is already available.

Read http://drupal.org/node/22275 for more information on that system.

Are you describing something different from the current role and access control system?

court-jus’s picture

In fact, I'm not really describing something different. But this example tells a bit more :

I have to allow one of my role to edit the contact form. This is done by granting "administer website settings" to him. But, I don't want this role to be able to mess up with all the others settings so I had to use "path access" to restrict the role and deny his access to admin/settings/* that sounds a little weird way of allowing a role to edit the contact form...

greggles’s picture

Version: 4.7.0 » x.y.z
Component: admin.module » contact.module
Category: support » feature

So it seems like your feature request is solved with currently available modules.

I'm reassigning this to the contact.module cvs version to request that permissions to administer the contact form be available as a distinct permission.

If there are other pieces of the core system that you feel nide more fine grained permissions like this then please enter separate bugs for each one (and file them against CVS).

LAsan’s picture

Version: x.y.z » 7.x-dev
Status: Active » Fixed

So it seems like your feature request is solved with currently available modules.

Moving to fixed.

gpk’s picture

Version: 7.x-dev » 6.0-beta3

The specific permission "administer site-wide contact form" was added in 6.0-beta3 (see http://drupal.org/node/136970). The more general point about allowing access to certain pages based on the URL/path is handled by the contributed path access module http://drupal.org/project/path_access as noted above.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.