Jump to content

Recommended Posts

Posted

I was thinking about creating a module to hide pages to  users in the admin area  with certain role, based on Soma's HiddenAdminPages, how can I get:

      - an array of all admin pages with a role of for example "manager" that have "page-edit" access?

Thank you.

Posted

      - an array of all admin pages with a role of for example "manager" that have "page-edit" access?

Do you mean pages (children) which exist under "Admin"?

Pages don't have a role assigned, but your users have.

Not sure what you want to do exactly, could you explain in more detail? Thanks :)

Posted

Hello Wanze.

My idea has already been discussed, but I think many people is still interested in that subject and I would like to take a different approach (I guess).

The idea is to show only certain pages to some users in the admin area, because each page is created by a user I thought it could be a good idea (maybe not) to check and show only the pages that have been created by himself, which has permission to edit those pages.

I user will see only pages created by himself in the admin area.

Regards. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...