|
2377d816df
|
change openid.md directory, modify openid.md
continuous-integration/drone/pr Build is failing
|
2023-10-27 16:22:03 +02:00 |
|
|
1b390fbc95
|
change error note and append team pointer in GetOrCreateTeamsByOIDCAndNames
|
2023-10-27 16:21:21 +02:00 |
|
|
193ef53df8
|
return pointer to team
|
2023-10-27 16:21:21 +02:00 |
|
|
d7e7752c22
|
add to error.md change error msg
|
2023-10-27 16:21:21 +02:00 |
|
|
f4b9e5989a
|
fix rebase error
|
2023-10-27 16:21:21 +02:00 |
|
|
c1826ff612
|
refactor unused function GetTeamsByName
|
2023-10-27 16:21:21 +02:00 |
|
|
99ab09e705
|
work on openid to just start group workflow when teamData is available
|
2023-10-27 16:21:18 +02:00 |
|
|
6a9333f54d
|
work on instructions for openid.md
|
2023-10-27 16:21:02 +02:00 |
|
|
2b98b5e94d
|
fix limit GetTeamByOidcIDAndName to get a single team
|
2023-10-27 16:21:02 +02:00 |
|
|
f990965b7c
|
return single team for GetTeamByOidcIDAndName
|
2023-10-27 16:21:02 +02:00 |
|
|
fe5013edca
|
add swagger files
|
2023-10-27 16:21:00 +02:00 |
|
|
44faa68bc8
|
remove left over function GetMemberCount, rename function SignOut to RemoveFrom
|
2023-10-27 16:20:30 +02:00 |
|
|
0824fd39d8
|
change generic name TeamData struct to OIDCTeamData
|
2023-10-27 16:19:32 +02:00 |
|
|
d90bdaf713
|
cast VikunjaGroups directly to []map[string]interface{}
changing []models.Team to []*models.Team
|
2023-10-27 16:19:06 +02:00 |
|
|
363bc10ab6
|
add punctuation and comments for errors
|
2023-10-27 16:18:29 +02:00 |
|
|
4d9476b7cd
|
undo team gets deleted if user is last team member
remove logic behind deleting last team_member
|
2023-10-27 16:18:18 +02:00 |
|
|
459e2df26c
|
fix lint
|
2023-10-27 16:17:55 +02:00 |
|
|
deafc61bf9
|
make documentation cleaner
|
2023-10-27 16:17:04 +02:00 |
|
|
afb7d0a6ee
|
rework openid.go, add errors to return, make team deletion more robust
|
2023-10-27 16:13:40 +02:00 |
|
|
f4c520a9ae
|
use models.TeamData instead of declaring struct twice
|
2023-10-27 16:12:15 +02:00 |
|
|
b3fb13ef27
|
remove manage admin function, nullcheck for oidc_id, undo removal of * in method TableName
|
2023-10-27 16:11:18 +02:00 |
|
|
0475cda245
|
add errors to error doc, rewrite error messages
specify error on teams model, add more declarative error
specify error message on ErrOIDCTeamDoesNotExist
|
2023-10-27 16:10:00 +02:00 |
|
|
19bd08a4a6
|
do the swag
|
2023-10-27 16:08:28 +02:00 |
|
|
4122536543
|
add openid.md as readme for feature: 950 assigning group through oidc claim
|
2023-10-27 16:04:58 +02:00 |
|
|
b03490bb3b
|
add config.yml.sample for seting up vikunja_scope and group assignment feature
|
2023-10-27 16:04:16 +02:00 |
|
|
7bebb29f7f
|
remove user from all oidc teams if token is empty
|
2023-10-27 16:03:40 +02:00 |
|
|
dbc7cbc53b
|
add functionality for deleting user only from oidc teams which are not present in the current token
|
2023-10-27 16:03:30 +02:00 |
|
|
fba4fe0241
|
change method function to GetOrCreateTeamsByOIDCAndNames
|
2023-10-27 15:59:07 +02:00 |
|
|
a0c0811681
|
do the swag
|
2023-10-27 15:57:41 +02:00 |
|
|
9d56723a9a
|
add functionality to assign user to teams through oidc custom claim
|
2023-10-27 15:57:39 +02:00 |
|
|
82c626e990
|
add TeamData struct to openid.go
|
2023-10-27 15:56:07 +02:00 |
|
|
357015b0e5
|
add functionality of searching teams by oidcId and name to teams.go
|
2023-10-27 15:53:25 +02:00 |
|
|
8a10f5bd8a
|
add OidcIDto teams
|
2023-10-27 15:52:30 +02:00 |
|
|
a7565513d7
|
wip assign groups via oidc
|
2023-10-27 15:50:18 +02:00 |
|
|
69391fa0fb
|
introduce functionality to assign/create team via group claim
|
2023-10-27 15:44:33 +02:00 |
|
|
1ffec9da1f
|
refactor unused function GetTeamsByName
|
2023-10-27 15:39:09 +02:00 |
|
|
9eb2977ba5
|
work on openid to just start group workflow when teamData is available
|
2023-10-27 15:39:09 +02:00 |
|
|
4a3beb3f63
|
work on instructions for openid.md
|
2023-10-27 15:39:09 +02:00 |
|
|
0d529bc39d
|
fix limit GetTeamByOidcIDAndName to get a single team
|
2023-10-27 15:39:09 +02:00 |
|
|
da3da10471
|
return single team for GetTeamByOidcIDAndName
|
2023-10-27 15:39:09 +02:00 |
|
|
e1fdce15a8
|
remove left over function GetMemberCount, rename function SignOut to RemoveFrom
|
2023-10-27 15:39:09 +02:00 |
|
|
e4762fe788
|
change too generic name TeamData struct to OIDCTeamData
|
2023-10-27 15:39:09 +02:00 |
|
|
a859423bf8
|
cast VikujGroups directly to []map[string]interface{}
changug []models.Team to []*models.Team
|
2023-10-27 15:39:09 +02:00 |
|
|
d0cae6aecf
|
add punctuation and comments for errors
|
2023-10-27 15:39:09 +02:00 |
|
|
a7cfd4052b
|
change get to exist in team_members.go:114
|
2023-10-27 15:39:09 +02:00 |
|
|
e7dddce8aa
|
undo team gets deleted if user is last team member
remove logic behind deleting last team_member
|
2023-10-27 15:39:09 +02:00 |
|
|
5877dc8247
|
fix lint
|
2023-10-27 15:39:09 +02:00 |
|
|
67e2c4f167
|
make documentation cleaner
|
2023-10-27 15:39:09 +02:00 |
|
|
e94b1b7701
|
rework openid.go, add errors to return, make team deletion more robust
|
2023-10-27 15:39:09 +02:00 |
|
|
7bf39fec22
|
move find x not in y for int64 slices to utils
|
2023-10-27 15:39:09 +02:00 |
|