Login to view the site

Matrix Version: 4.18.2

I have a website
abc.co.nz
and I have made pages like
abc.co.nz/aaa
abc.co.nz/aaa/111, abc.co.nz/aaa/123

I want to make user to login when they access to abc.co.nz/aaa, and then they can view all pages under /aaa

I have no idea how to make this. Please help!

Hi

Remove/deny public user read permissions on the parent asset, and set to cascade the permission changes. Depending on what permissions the child assets have - you might need to try to use the manually cascade option.

Then grant the appropriate permission (eg read) to the user/user group - on the same asset, and set cascade.

https://matrix.squiz.net/manuals/users-and-permissions

Thanks
Peter

1 Like

Oh Ok, and how could I make login page?

Hi

The default Matrix login would would be used if you havent created a custom one.

If you want to create your own custom login page you would created a new design and use the Login Form Design Area, and could also you the Password Reset one as well if required.

https://matrix.squiz.net/manuals/designs/chapters/login-form-design-area

You can then apply the desgin to that section of the site, or to your site asset, in the settings screen.

Thanks
Peter

1 Like