Recently Browsing 0 members
No registered users viewing this page.
Is it possible to let people edit a page without having to have a user-role?
My case is the following:
Visitors fill in a form (Formbuilder) which is saved to pages. They get a confirmation email which could contain a unique editing link. In case they need to update some information, they can click on this link, edit the fields and save.
Am I totally off? Is there a better practice?
I'm using this kind of setup (https://processwire.com/blog/posts/language-access-control-and-more-special-permissions/#language-page-edit-permissions) in order to control the page edit permissions. Now I'm wondering if it's possible to hide the "none-ediable" language-tabs instead of striking them through.
By Kiwi Chris
I have a role that has page edit, view, and clone permissions on a specific template.
If a page using the template is locked by a user in a role with lock/unlock permissions on the template , the only button alongside it in the page tree is view, for users who don't have lock/unlock permissions.
If however, I also give the role page-lock permission on the template, they then get additional buttons, edit, copy, and unlock.
I don't actually want to give this role unlock permissions, but I do want the copy (clone) button to display alongside the page in the page tree.
Elsewhere, I've discussed how I've worked out how to create a hook to unlock the copy, but I want to keep the original page so a user without lock permissions can't unlock from the page tree it to make changes.
Question: What method should I hook into to intercept any attempt to change the lock status?
I try to add page-edit-own and page-delete-own permissions, but it's strange...
If a add the custom permissions it looks like both are children of page-edit respectively page-delete. I played with added / revoked permissions, but I can't get it work, that a user of a role just can delete own content.
First the user can't delete any content and now the user can delete own and foreign pages 🤪
Is there a tutorial to learn more about the PW permissions?
Or do I have to rename the permissions to page-own-edit and page-own-delete to be independent from page-edit and page-delete?
not sure why but PW adds any uploads as permissions 600 (e.g. images wont load after upload unless i go in with the same server user and change permissions to 755 or similar). This ever happened to any one else?