Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aurorawebsoftware/aauth
Hierarchical Rol-Permission Based Laravel Auth Package with Limitless Hierarchical Level of Organizations
https://github.com/aurorawebsoftware/aauth
abac access-control access-management auth authentication authorization laravel laravel-framework laravel-package permissions php php8
Last synced: 5 days ago
JSON representation
Hierarchical Rol-Permission Based Laravel Auth Package with Limitless Hierarchical Level of Organizations
- Host: GitHub
- URL: https://github.com/aurorawebsoftware/aauth
- Owner: AuroraWebSoftware
- License: mit
- Created: 2022-06-15T14:09:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T11:07:17.000Z (25 days ago)
- Last Synced: 2024-12-23T15:13:48.607Z (12 days ago)
- Topics: abac, access-control, access-management, auth, authentication, authorization, laravel, laravel-framework, laravel-package, permissions, php, php8
- Language: PHP
- Homepage:
- Size: 216 KB
- Stars: 38
- Watchers: 2
- Forks: 7
- Open Issues: 9
-
Metadata Files:
- Readme: README-abac.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
todo
---- docs
-todo v2
---- unit test improvements
- AbacUtil validation improvements
- AbacRules() and AbacArray Validation together
- interface testsbacklog
---- config e aranacak model klasörü eklenecek ?? AStart a mı eklemek lazım?
- abac rule'u eloquent'a - dönüştüren builder ?? şimdilik scope içinden yapıldı
- model'in rule'larını alan servis veya util ?-----
```json
{
"&&": [
{
"==": [
"$attribute",
"asd"
]
},
{
"==": [
"$attribute",
"asd"
]
},
{
"||": [
{
"==": [
"$attribute",
"asd"
]
},
{
"==": [
"$attribute",
"asd"
]
}
]
}
]
}
``````php
[
"&&" => [
["==" => [ "attribute" => "$attribute", "value" => "asasd"]]
],
["||" =>
[
["==" => [ "attribute" => "$attribute", "value" => "asasd"]],
]
]
]
]```
```php
[
"&&" => [
["=" => [ "attribute" => "model", "value" => "opel"]],
[">" => [ "attribute" => "age", "value" => "2020"]],
"||" => [
["=" => [ "attribute" => "model", "value" => "mercedes"]],
]
],
]
]```