Skip to content

Commit

Permalink
chore: update license
Browse files Browse the repository at this point in the history
  • Loading branch information
uwla committed Feb 2, 2024
1 parent 1eccca7 commit 2315073
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
MIT License


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
Implementation of Access Control List System in Laravel.

The system handles authorizations of certain actions based on roles and
permissions. Permissions are assigned to roles, and roles are assigned to
users. If a user's role has the matching permission, then the user is
authorized to perform the given action; else the user is forbidden. The
permissions can be arbitrarily defined by the application developers.
permissions. Permissions are assigned to roles, and roles are assigned to users.
If a user's role has the matching permission, then the user is authorized to
perform the given action; else the user is forbidden. The permissions can be
arbitrarily defined by the application developers.

The system can handle resource-based permissions, that is: a permission is
associated with a resource/model/entity in the database. Thus, it is possible
Expand All @@ -28,7 +28,7 @@ particular. This is better than adding a 'user_id' column in the articles table.
## Demo

A demo app is available on github at
[uwla/lacl-demo](https://github.com/uwla/lacl-demo1) to illustrate usage.
[uwla/lacl-demo](https://github.com/uwla/lacl-demo) to illustrate usage.

## FAQ

Expand Down Expand Up @@ -882,3 +882,7 @@ pull request.
## HELP

If you any need help, feel free to open an issue on this package's github repo.

## LICENSE

MIT.

0 comments on commit 2315073

Please sign in to comment.