Update user endpoint definitions to include profile and teams retrieval
- Added new endpoints for retrieving user profile and teams in the user scope initialization. - Ensured the existing endpoint for team selection remains included for continued functionality.
This commit is contained in:
parent
007cf0adb9
commit
e1405a5fa2
1 changed files with 3 additions and 1 deletions
|
|
@ -28,8 +28,10 @@ func init() {
|
||||||
Name: ScopeTeamSelection,
|
Name: ScopeTeamSelection,
|
||||||
Description: "Team selection - temporary access for selecting a team after login",
|
Description: "Team selection - temporary access for selecting a team after login",
|
||||||
Endpoints: []string{
|
Endpoints: []string{
|
||||||
"POST /user/teams/select",
|
"GET /user/profile",
|
||||||
|
"GET /user/teams",
|
||||||
"GET /user/teams/config",
|
"GET /user/teams/config",
|
||||||
|
"POST /user/teams/select",
|
||||||
"GET /file/:uploaderID/:fileID/content",
|
"GET /file/:uploaderID/:fileID/content",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue