# Yii2-rbac [![Total Downloads](https://img.shields.io/packagist/dt/dektrium/yii2-rbac.svg?style=flat-square)](https://packagist.org/packages/dektrium/yii2-rbac) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)

Yii2-rbac provides a way to manage your application's RBAC structure and includes following features:

- Allows CRUD operations for auth items (roles and permissions) and rules.
- Allows to assign multiple roles or permissions to user (using bundled widget).
- Allows to create console migration for creating/updating RBAC items.
- Integrated with [Yii2-user](https://github.com/dektrium/yii2-user) - flexible user management module

> **NOTE:** Module is in initial development. Anything may change at any time.

## Documentation

[Read the Documentation for master](docs/README.md)

[Read the Documentation for v1.0.0-alpha](https://github.com/dektrium/yii2-rbac/blob/1.0.0-alpha/docs/README.md)

## Support

If you have any questions or problems with Yii2-rbac you can ask them on [our forum](http://dektrium.com).

## Contributing to this project

Anyone and everyone is welcome to contribute. Please take a moment to review the
[guidelines for contributing](.github/CONTRIBUTING.md).

## License

Yii2-rbac is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md) for details.
