I have a site that has a super admin and then an admin (with less permissions). The site is using about 10 different blocks (some custom) to display different types of content.

I would like to give the admin the ability to administer some of the blocks, with the rest of the blocks only being administered by the super admin. Right now enabling block administration means the user can administer all the blocks. (By administer I mean setting the block titles and changing weight and location).

Has a module been developed that lets the super admin set permissions for specific blocks? I know this can be done by content type - but I would like to do the same thing with blocks?

Thank you,
Kim

Comments

WorldFallz’s picture

not as far as i know-- and since there aren't "block types", i'm not sure how you would implement this.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

francewhoa’s picture

You can do that with Drupal 6.x and the modules Views 2.x & CCK 2.x. It takes some time learning Views & CCK but once you know how to use them you can do almost anything.

How-to:

  1. Go to /admin/content/types/add

    Use CCK to create a new page type.
  2. Use Views to display the page in a block.
  3. Go to /admin/user/permissions

    Set desired permissions for specific roles under section 'node module'.

---

How to contribute to Drupal.

Loving back your Drupal community result in multiple benefits for you  
tanc’s picture

Ancient topic, but still up there in Google searches for block permissions so I thought I'd add this link: http://drupal.org/project/block_access
I haven't tested but looks like it'll cover lots of what's needed.

bdimofte’s picture

I've just tried the module, it pretty much covers everything one could want.

mdubose’s picture

Which module worked? I am trying to do the same thing. I'm using drupal 6.

mdubose’s picture

With this link: http://drupal.org/project/block_access, you're not able to set individual user permissions for each block. The way the blocks are implemented in my site, if a user has access to edit blocks, they can edit all blocks. This is not what I want. I want a user to be able to edit only the blocks that's on their particular page not all blocks within the entire site. Is this possible?

calbasi’s picture

It seems there isn't a module to manage admin permisions for individual blocks... Maybe using nodeinblocks module, or views to render nodes as blocks you can get it, but I think it's easier, conceptually, set granular block admin permissions, isn't it?

devansro’s picture

Looks like this thread isn't quite dead yet, and if someone stumbles across it like I just did, we did this by using Node Blocks and Taxonomy Access Control. We created a Content Block content type, enabled it as a block, then assigned it the same access term as the page it was placed on. With the contextual links, the editors don't even have to go to the block management screen.

msachin90@gmail.com’s picture

go to blocks
then click the link "configure"

and at the end of the page select roles tab

and then select the check box specified for each users

done

matbennett’s picture

Won't that only effect who the block is displayed to, rather than who can edit it?

WorldFallz’s picture

that's the 'admin blocks' permission iirc.