wnikk/laravel-access-ui

Interface of simple ACR (Access Control Rules) for Laravel.

1.3.5 2024-04-29 09:11 UTC

This package is auto-updated.

Last update: 2024-05-29 09:35:22 UTC


README

Laravel Access Control Rules

Laravel Access Control Rules Ui

(ACR - Access Control Rules, Permissions Package with User Interface)

License PHP Version Require Total Downloads Latest Stable Version Latest Unstable Version

This is FrontEnd for package Laravel Access Rules.

What does Access Rules support?

  • Multiple user models.
  • Multiple permissions can be attached to users.
  • Multiple permissions can be attached to groups.
  • Permissions verification.
  • Permissions caching.
  • Events when permissions are attached, detached or synced.
  • Multiple permissions can be attached to user or group.
  • Permissions can be inherited with unlimited investment from users and groups.
  • Laravel gates and policies.
  • Frontend themes: "ukit", Bootstrap 4 and Bootstrap 5, default "bt".

Documentation, Installation, and Usage Instructions Backend

Before using UI, it is necessary to install the ACR (Access Control Rules) itself.

See the documentation for detailed installation and usage instructions.

You can install the package UI using composer:

composer require wnikk/laravel-access-ui

And publish the config/accessUi.php config file with:

php artisan vendor:publish --provider="Wnikk\LaravelAccessUi\AccessUiServiceProvider"

Theme

Bootstrap 4 and Bootstrap 5

Laravel Access Control Rules Ui

ukit

Laravel Access Control Rules Ui

Optional GUI Routes

HTTP method Route Main page Controller Action
GET accessui/ accessUi.main ...AccessUiController main
HTTP method Route Pages JSON data Controller Action
GET accessui/rules-data accessUi.rules-data.index ...RulesController index
POST accessui/rules-data accessUi.rules-data.store ...RulesController store
PUT accessui/rules-data/{id} accessUi.rules-data.update ...RulesController update
DELETE accessui/rules-data/{id} accessUi.rules-data.destroy ...RulesController destroy
GET accessui/owners-data accessUi.owners-data.index ...OwnersController index
POST accessui/owners-data accessUi.owners-data.store ...OwnersController store
PUT accessui/owners-data/{id} accessUi.owners-data.update ...OwnersController update
DELETE accessui/owners-data/{id} accessUi.owners-data.destroy ...OwnersController destroy
GET accessui/owner/{owner}/inherit-data accessUi.owner.inherit-data.index ...InheritController index
POST accessui/owner/{owner}/inherit-data accessUi.owner.inherit-data.store ...InheritController store
DELETE accessui/owner/{owner}/inherit-data/{id} accessUi.owner.inherit-data.destroy ...InheritController destroy
GET accessui/owner/{owner}/permission-data accessUi.owner.permission-data.index ...PermissionController index
PUT accessui/owner/{owner}/permission-data/{id} accessUi.owner.permission-data.update ...PermissionController update

Contributing

Please report any issue you find in the issues page. Pull requests are more than welcome.

License

The MIT License (MIT). Please see License File for more information.