Skip to content

srigi/nette-acl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages