basicly implement acl crud ops with roles and resources
This commit is contained in:
11
api/acl_admin/common_models.go
Normal file
11
api/acl_admin/common_models.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package api_acladmin
|
||||
|
||||
type errorInvalidRequestBody struct {
|
||||
Error string `json:"error" example:"INVALID_REQUEST_BODY"`
|
||||
Details string `json:"details" example:"Request body is not valid JSON"`
|
||||
}
|
||||
|
||||
type errorInternalServerError struct {
|
||||
Error string `json:"error"`
|
||||
Details string `json:"details"`
|
||||
}
|
||||
Reference in New Issue
Block a user