Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

todo
---

- docs
-

todo v2
---

- unit test improvements
- AbacUtil validation improvements
- AbacRules() and AbacArray Validation together
- interface tests

backlog
---

- 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"]],
]
],
]
]

```