Jump to content

Why a user role could not edit a page from page list ?


adrianmak
 Share

Recommended Posts

I define another user template (with personal fields) for front-end user.

I use the method of user page with multiple template technique, which described in this documentation

https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users

The new setup for user template is working fine.

And instead of using the admin account, I defined another user role to manage these users.

The editor role could editor normal basic page

post-2272-0-01175500-1464154480_thumb.pn

There is no action bar shown on the members page

post-2272-0-26518400-1464154517_thumb.pn

However, the editor role could edit member page from the Access->users page

post-2272-0-06506600-1464154582_thumb.pn

editor role with this permission

post-2272-0-00140800-1464154408_thumb.pn

member-user access rights for editor role

post-2272-0-03078900-1464154445_thumb.pn

remark:

the user role is editor

the new user template is member-user

Link to comment
Share on other sites

A one more related question regarding the pw in-built  admin page search.

To search pages by default to name, given_name and surname field, I changed the processsearch settings something like

post-2272-0-60031000-1464164476_thumb.pn

With admin account, I could click and edit of a user.

post-2272-0-00083600-1464164596_thumb.pn

But with the user role I mentioned on OP, the search result of the name field display as a plain text only.

post-2272-0-88304000-1464164646_thumb.pn

Link to comment
Share on other sites

My answer from above does probably also fit to this issue. Users are only meant to be edited via Access > Users and not anywhere else. Normally it doesn't stand out as much as the default user template is a system template and it's pages are hidden in the Admin branch of the page tree.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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