The module Frontend User Permission helps to manage frontend user permissions and bind access to specific structure levels. It was used to give customers access to custom content (files, text, news…) which is curated by editors.
It’s compatible to versions of phpwcms released on/after March 7, 2017 only.
Place the module into your installation. You can select it under modules in the backend then.
The simplest thing to get it running in the frontend is to copy and paste the following code to your template (admin section of phpwcms' backend).
[PERMITTED]
{PERMITTED}
{CONTENT}
[/PERMITTED]
[PERMITTED_ELSE]
{PERMITTED_ELSE}
[/PERMITTED_ELSE]
You have more possibilities by editing the template file of the module (see template/default.tmpl).
Add an user and give permissions by assigning the structure level(s) to which the user should get resctricted access after successful login.
- 2017-03-07: Multiple levels per user can be restricted, target of where to redirect the user after successful login, several fixes
The module is funded by pixelpublic GmbH. Thanks for your support guys.
Oliver Georgi
Copyright 2015-2017 Oliver Georgi, released under GNU GPL-2

