Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Auth Restricted Site

Variable: $cfg['auth']['restrictedSite']

Effected class: auth global

Config type: auth

Type of data: integer

Platform: 2v

How to call: basic::$cfg['auth']['restrictedSite']

Description:
We can set the entire site to be restricted and if so we can define in which level the restriction will be in effect. The auth levels are defines at authLevel. User with insufficient auth level will be denied.
Available options:
0 - No.
1 - Yes on level 1.
2 - Yes on level 2.
3 - Yes on level 3.
4 - Yes on level 4.
5 - Yes on level 5.
example: 1
If we do not want to restrict the site.
How to set (example):
Code:
example: 2
If we do want to restrict the site and not let guests to view it, only for registered users.
How to set (example):
Code:
Info Panel
Roll it!   ⇔