Skip to content

Commit

Permalink
Create access_control.json
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 9, 2024
1 parent 919e9bc commit 9bf91e3
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions projects/pi-nexus-iam/data/access_control.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"access_control": [
{
"id": 1,
"name": "admin",
"description": "Administrator role",
"permissions": [
"create_user",
"read_user",
"update_user",
"delete_user",
"create_group",
"read_group",
"update_group",
"delete_group"
],
"groups": [
"admin"
],
"created_at": "2023-02-20T14:30:00.000Z",
"updated_at": "2023-02-20T14:30:00.000Z"
},
{
"id": 2,
"name": "moderator",
"description": "Moderator role",
"permissions": [
"read_user",
"update_user",
"create_group",
"read_group",
"update_group"
],
"groups": [
"moderator"
],
"created_at": "2023-02-20T14:30:00.000Z",
"updated_at": "2023-02-20T14:30:00.000Z"
},
{
"id": 3,
"name": "user",
"description": "User role",
"permissions": [
"read_user",
"update_user"
],
"groups": [
"user"
],
"created_at": "2023-02-20T14:30:00.000Z",
"updated_at": "2023-02-20T14:30:00.000Z"
}
]
}

0 comments on commit 9bf91e3

Please sign in to comment.