anroots/kohana-db-acl — pull request #1 by parshikov (2013-09-02 07:48:31+00:00)
Title: Reduce the need to copy the permitions from the database

The need to use the permission constants is removed.

The ability to use

```php
$rights = Rights::instance();
if ($user->can($rights->edit_users))
```
instead

```php
can(Model_Permission::EDIT_USERS);
```
is presented.

The rights are taken from Permission::name field in the database. For example `add_new_post` right in the database is presented as `Add new post`, `edit_user` as `Edit user`.