viehlieb
  • freelance software developer @local-it @pragma-shift @foodsoft

  • Joined on 2022-10-12
viehlieb commented on pull request vikunja/vikunja#1393 2023-02-23 14:46:51 +00:00
feat: assign users to teams via OIDC claims

Please fix the lint and regenerate config docs.

I try to fix lint and it tells me to run 'do-the-swag'. which i do, it runs the commands, etc... but no new swagger file is created. Any idea?

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-23 14:43:46 +00:00
feat: assign users to teams via OIDC claims

done

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-23 14:43:36 +00:00
feat: assign users to teams via OIDC claims

not ignored now

viehlieb pushed to 950_reworked_assign_teams_via_oidc at viehlieb/api 2023-02-23 14:42:27 +00:00
d3ca751f4c undo team gets deleted if user is last team member
viehlieb pushed to 950_reworked_assign_teams_via_oidc at viehlieb/api 2023-02-23 14:41:54 +00:00
af2cd7a42e remove logic behind deleting last team_member
viehlieb commented on pull request vikunja/vikunja#1393 2023-02-23 14:25:52 +00:00
feat: assign users to teams via OIDC claims

done

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-23 14:25:22 +00:00
feat: assign users to teams via OIDC claims

as a matter of fact, that's true. removed

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-23 14:24:24 +00:00
feat: assign users to teams via OIDC claims

done all the error stuff

viehlieb pushed to 950_reworked_assign_teams_via_oidc at viehlieb/api 2023-02-23 14:23:44 +00:00
1629f20ae9 undo team gets deleted if user is last team member
viehlieb pushed to 950_reworked_assign_teams_via_oidc at viehlieb/api 2023-02-14 10:08:24 +00:00
82b7c14fed fix lint
viehlieb commented on pull request vikunja/vikunja#1393 2023-02-14 10:06:16 +00:00
feat: assign users to teams via OIDC claims

Here there is the information missing, what do you suggest?

viehlieb pushed to 950_reworked_assign_teams_via_oidc at viehlieb/api 2023-02-13 19:04:33 +00:00
bd2cb9ad8b make documentation cleaner
dace429bb7 rework openid.go, add errors to return, make team deletion more robust
956d7971ca move find x not in y for int64 slices to utils
e1c0c4fa90 use models.TeamData instead of declaring struct twice
37ccc008ee remove manage admin function, nullcheck for oidc_id, undo removal of * in method TableName
Compare 7 commits »
viehlieb commented on pull request vikunja/vikunja#1393 2023-02-13 18:54:50 +00:00
feat: assign users to teams via OIDC claims

At that location, it is just an information.

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-13 17:54:49 +00:00
feat: assign users to teams via OIDC claims

User as "team_member" will be removed via (user.id, team.id) for all teamIDs []int64. If the user is the last member, the team is deleted.

Further explanation below:

deleting the team…

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-13 17:50:43 +00:00
feat: assign users to teams via OIDC claims

manageAdmin func and this var are deleted from code, since not needed

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-13 17:50:42 +00:00
feat: assign users to teams via OIDC claims

manageAdmin func and this var are deleted from code, since not needed

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-13 17:50:21 +00:00
feat: assign users to teams via OIDC claims

just ids are needed here to prevent overhead.

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-13 17:49:59 +00:00
feat: assign users to teams via OIDC claims

oha. this was unintended.

viehlieb commented on pull request vikunja/vikunja#1393 2023-02-13 17:49:47 +00:00
feat: assign users to teams via OIDC claims

done.

viehlieb created pull request vikunja/vikunja#1393 2023-02-10 21:30:09 +00:00
950_reworked_assign_teams_via_oidc