-added auth for rolechange, endpoint and test
This commit is contained in:
parent
ce4cf788ae
commit
cb44954477
4 changed files with 59 additions and 5 deletions
|
@ -13,3 +13,9 @@ type NewProject struct {
|
|||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
type RoleChange struct {
|
||||
Role string `json:"role" tstype:"'project_manager' | 'user'"`
|
||||
Username string `json:"username"`
|
||||
Projectname string `json:"projectname"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue