101 lines
2.2 KiB
JSON
101 lines
2.2 KiB
JSON
[
|
|
{
|
|
"id": 1,
|
|
"username": "admin",
|
|
"email": "admin@company.com",
|
|
"password": "123456",
|
|
"full_name": "System Administrator",
|
|
"role": "Administrator",
|
|
"role_description": "Administrative access with most permissions",
|
|
"permissions": [
|
|
{
|
|
"action": "Create",
|
|
"code": "C",
|
|
"description": "Create new records"
|
|
},
|
|
{
|
|
"action": "Read",
|
|
"code": "R",
|
|
"description": "View/Read records"
|
|
},
|
|
{
|
|
"action": "Update",
|
|
"code": "U",
|
|
"description": "Edit/Update existing records"
|
|
},
|
|
{
|
|
"action": "Delete",
|
|
"code": "D",
|
|
"description": "Delete records"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"username": "manager1",
|
|
"email": "manager1@company.com",
|
|
"password": "234567",
|
|
"full_name": "John Manager",
|
|
"role": "Manager",
|
|
"role_description": "Management level access for operational tasks",
|
|
"permissions": [
|
|
{
|
|
"action": "Read",
|
|
"code": "R",
|
|
"description": "View/Read records"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"username": "staff1",
|
|
"email": "staff1@company.com",
|
|
"password": "345678",
|
|
"full_name": "Jane Staff",
|
|
"role": "Staff",
|
|
"role_description": "Regular staff access for daily operations",
|
|
"permissions": [
|
|
{
|
|
"action": "Read",
|
|
"code": "R",
|
|
"description": "View/Read records"
|
|
},
|
|
{
|
|
"action": "Create",
|
|
"code": "C",
|
|
"description": "Create new records"
|
|
},
|
|
{
|
|
"action": "Update",
|
|
"code": "U",
|
|
"description": "Edit/Update existing records"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"username": "staff2",
|
|
"email": "staff2@company.com",
|
|
"password": "456789",
|
|
"full_name": "Bob Staff",
|
|
"role": "Staff",
|
|
"role_description": "Regular staff access for daily operations",
|
|
"permissions": [
|
|
{
|
|
"action": "Read",
|
|
"code": "R",
|
|
"description": "View/Read records"
|
|
},
|
|
{
|
|
"action": "Create",
|
|
"code": "C",
|
|
"description": "Create new records"
|
|
},
|
|
{
|
|
"action": "Update",
|
|
"code": "U",
|
|
"description": "Edit/Update existing records"
|
|
}
|
|
]
|
|
}
|
|
] |