Skip to content

Commit

Permalink
added rbac files to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Sep 27, 2016
1 parent dce698a commit b03792f
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/files/assignments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php
return [
'sol' => [
'freezer',
'manager',
],
'andre' => [
'freezer',
],
];
77 changes: 77 additions & 0 deletions src/files/items.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?php
return [
'client' => [
'type' => 1,
'children' => [
'deposit',
],
],
'support' => [
'type' => 1,
'children' => [
'supporting',
],
],
'admin' => [
'type' => 1,
'children' => [
'support',
'administrate',
],
],
'manager' => [
'type' => 1,
'children' => [
'support',
'manage',
],
],
'reseller' => [
'type' => 1,
'children' => [
'manager',
'resell',
],
],
'owner' => [
'type' => 1,
'children' => [
'reseller',
'own',
],
],
'freezer' => [
'type' => 1,
'children' => [
'freeze',
'unfreeze',
],
],
'deposit' => [
'type' => 2,
],
'supporting' => [
'type' => 2,
],
'manage' => [
'type' => 2,
],
'administrate' => [
'type' => 2,
],
'resell' => [
'type' => 2,
],
'own' => [
'type' => 2,
],
'root' => [
'type' => 2,
],
'freeze' => [
'type' => 2,
],
'unfreeze' => [
'type' => 2,
],
];
2 changes: 2 additions & 0 deletions src/files/rules.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
return [];

0 comments on commit b03792f

Please sign in to comment.