Recently Browsing 0 members
No registered users viewing this page.
we have many projects as pages containing images inside regular image fields and repeater matrix elements. Now we would like to organize our assets.
ProcessWire saves assets with id as folder name and makes separate folders for repeater matrix elements.
Is there a way to collect all assets of one page and export them in a folder with the page name/title?
I think I could achieve this by using the command line wget for this website or maybe by a hook. But maybe someone has done this before. 😉
"Permission “page-sort” for template “ ... ” not allowed (requires “page-edit” permission)"
– This lovely error message is thrown at me, if, as implied by it, I try to add (to my "editor" role) the permission "page-sort" for a specific template, without the permission "page-edit" enabled for the same template.
Seems like it's been mentioned a few times before but never properly answered, by e.g. @Robin S ... :
"Allow the granting of page-sort permission independent of page-edit": https://github.com/processwire/processwire-requests/issues/29
Why do I wanna do this?:
I have a page tree structure 🌳 as so:
– Page a [C1_p] – Page b [C1_p] Different category [C2]
– Page c [C2_p] – Page d [C2_p] ________________________
The page "Category" has the page-template "C1",
the pages "Page a" and "Page b" both have the page-template "C1_p".
The page "Different category" has the page-template "C2"
the pages "Page c" and "Page d" both have the page-template "C2_p".
The two pages called "Category" and "Different category" do not have any content, they only serve as containers for pages belonging to that category.
I want my "editor" role not to be able to do anything at all with these pages "Category" and "Different category"; i.e. I do not want my editor to be able to edit, move, unpublish, hide, lock, delete (or do anything else to) these category pages.
– So, I want my "editor" role to have the "page-edit" permission for pages with the templates "C1_p" and "C2_p", but not for the pages with the category templates "C1" and "C2",
Also, I want my "editor" role to be able to move the pages with the templates "C1_p" and "C2_p" within their parent-pages.
But if I just simply add the "page-edit" and the "page-move" permissions for the "C1_p" and "C2_p" templates, then, using the "editor" role, I am not able to move these "C1_p" (and "C2_p") -template-based pages. I can actually click "MOVE" next to them and then move them, but... then I will be met by the error message "You do not have permission to sort pages using this parent - /Category/".
– So, I try to add the "page-sort" (description: "permission to sort child pages") permission to the "C1" and "C2" templates... but then trying to do so I am met by the initially mentioned error message ! Permission “page-sort” for template “C1” not allowed (requires “page-edit” permission) .
And, as mentioned, I do not want my editor role users to be able to edit these category ("C1" and "C2") pages...
– what to do about this? 😅
All the best,
Hi, on a site I want to disable access to original images and only allow to access thumbnails and watermarked image variations.
A good solution for protecting original images can be found a bit down in this thread:
Old content of this initial post:
I have a user role employee with the permission page-edit-created. This user role has access to add new pages to the template posts with the template post.
The template posts should have children with the template post. The template post should have the parent with the template posts. Now every time I try to add a new page with the template post, an exception throws:
You don't have access to the template required to add pages here
Is this a bug in this permission or have I not configured the permissions correct?
Is there a hook to allow to add pages to the template posts for the role employee?
I would appreciate some help. 😀
Hi! I am new to processwire and really like working with it so far.
For a relaunch project, some editors of our website need the permission to add redirect URLs while migrating the content. I already created a role "site-manager" so only a few team members have access to certain features.
There is also the option to add redirect URLs in the page settings, but it seems to be restricted only to superusers. Does anyone know of a way to grant permission for this option to another user role?
Since this is the first PW-Project I did not dive in too deep with the permissions yet. I also tried to add a "page-edit-redirect"-permission, but I am somehow stuck on what to do with it.