mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 07:19:02 +00:00
More work on perms page
This commit is contained in:
@@ -81,6 +81,10 @@ type GetManagerListResponse struct {
|
||||
Managers *[]storage.Manager `json:"managers"`
|
||||
}
|
||||
|
||||
type GetManagerListWithRoleOnResponse struct {
|
||||
Managers *[]storage.ManagerRoleOn `json:"managers"`
|
||||
}
|
||||
|
||||
type GetLogRequest struct {
|
||||
Level storage.LogLevel `json:"level"`
|
||||
Since int64 `json:"since"`
|
||||
@@ -263,6 +267,11 @@ func (w *CreateWorkerAccessRequest) isValid() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
type SetManagerRoleOnProjectRequest struct {
|
||||
Manager int64 `json:"manager"`
|
||||
Role storage.ManagerRole `json:"role"`
|
||||
}
|
||||
|
||||
type Info struct {
|
||||
Name string `json:"name"`
|
||||
Version string `json:"version"`
|
||||
|
||||
Reference in New Issue
Block a user