Authorization examples

The following users can be used to test the secure mechanisms of Sphinxy.

Email / Login

Password

Permissions

admin@ubdocs.com

ubdocs

internal , customer

employee@ubdocs.com

ubdocs

internal

customer@ubdocs.com

ubdocs

customer

Per page

The following pages are secured by front matter / file-wide metadata configuration at the beginning of each file.


Internal : User needs the permission internal .
Customer : User needs the permission customer .
No Customer : User must not have the permission customer , which is also valid for not logged-in users.

See secure page field for more details about the used secure field.

Per area

The secret of internal is:

You don’t have the internal permission to see the secret!

The secret of customer is:

You don’t have the customer permission to see the secret!


See secure directive for more details about the used secure directive.