iqnection-pages/protectedareapage

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. No replacement package was suggested.

SilverStripe Protected Area

2.1.0 2021-02-01 21:22 UTC

This package is auto-updated.

Last update: 2021-04-29 21:53:39 UTC


README

SilverStripe Protected Area Page

Features

protects all pages that are children of a ProtectedAreaPage

Uses independant user management system from SilverStripe Member

Users must login before they can access the content

Users are assigned to groups, groups have access to the pages specified

Config:

ProtectedPagesUser: admin_can_set_password : true

If true, admins can set the password for users

$admin_can_set_password bool [default: false]

Allow users to change their password

$user_can_update_password bool [default: true]

Auto generate password for new users

$auto_generate_password bool [default: true]

Minimum required password length

$min_password_length int [default: 1]

Just a random unique string that is used in teh password salt

$secure_salt string

Cookie name used for user session

$cookie_name string [default: '_ppu']

Cookie lifetime

$cookie_lifetime int [default: 1]