-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
24 lines (17 loc) · 835 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Static ACL in Nette Framework
=============================
The most simple application in Nette Framework to demonstrate ACL authorization mechanizm. Admin section is protected by Nette\Security\Acl.
- Nette Framework not included!
- make `log`, `temp`, `temp/cache` and `temp/sessions` writtable
- database schema and data can be found in `resources` folder
To test application, navigate to http://APPLICATION_URL/admin
password and logins:
- admin@exmaple.com admin
- betty@example.com pokus
- brown.p@example.com pokus
Password are set for security.salt configured in `app/config.neon`. If you change this salt, you must regenerate passwords manualy and store them to DB. Formula for generating on console is:
`$ php -a`
`Interactive shell`
` `
`php > echo sha1($password . $salt);`
Live demo at http://nette.srigi.sk/acl