Extend database with more tables, rewrite API doc, improve API endpoints
This commit is contained in:
16
software/backend/data/accountRoles.json
Normal file
16
software/backend/data/accountRoles.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "User",
|
||||
"privilegeBuy": true,
|
||||
"privilegeAdminPanel": false
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Admin",
|
||||
"privilegeBuy": true,
|
||||
"privilegeAdminPanel": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user