Is it possible to restrict the listing of pages/subpages based on the roles (user or role-access defined in a page?) FOR THE BACKEND?
(The page has no frontend, only a complex json output of the different users' content.)
i have multiple users which should not be able to VIEW or EDIT forign content.
They all (should) have their own "parent"-page with children:
It would be nice if the admin gives a "base-parent" for each user - where he is free to edit and create childs, but not somewhere else.
The template of the parent and the child-Pages is always the same, thats why i dont want to / can't restrict access through the template.
I also cant use the "settings-tab" on the page to give access, because it says:
"Access is inherited from page "/" and defined with template: home"
if i change the home-template-access:
Template 'home' is used by the homepage and thus must manage access
The plugin "page-roles" is not able to inherit the access to children, and its not possible to regulate EDIT/Create, only "view"...
User- oder role-based access-restriction in backend for pages and their children?
Started by vanderbreye, Apr 24 2012 09:57 AM
Module Request Plugin
1 reply to this topic
#2
Posted 24 April 2012 - 11:00 AM
If the users aren't administrative users, then it would be better to keep them on the front-end where you are in full control of any access control scenario. For instance, you could assign access just through a page reference field attached to the user. However, if they are administrative users, you can't currently restrict their access in the manner you've asked without creating a module to hook into the Page::editable and/or Page::viewable functions. This thread has a little more info about doing that, but let me know if I can expand on it:
http://processwire.c..._hl__#entry8737
http://processwire.c..._hl__#entry8737
Also tagged with one or more of these keywords: Module, Request, Plugin
Community Support →
Modules/Plugins →
Page Edit Per RoleStarted by pogidude, 21 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Module: TemplateHasTagsStarted by MichaMichaMicha, 20 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Release: LocalAudioFiles MP3-DBStarted by horst, 19 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Inline EditorStarted by Sinmok, 10 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Module: Site indexerStarted by Alessio Dal Bianco, 08 May 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












