-
freelance software developer @local-it @pragma-shift @foodsoft
- Joined on
2022-10-12
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…
The rationale was to ensure users can still log in, even though the scope is malformed. Therefore the Errors are logged instead of returning.
Also: It might be some groups with valid token…
okay, but won't it reach inconsistent state anyways? Imagine the user is in 3 groups. tm is deleted for group 1 tm is not deleted for group 2, because user is last member tm won't be deleted…
I tend to just changing functionality to take the first team with that specific setting.
In fact this function is not needed anymore for this feature, so I'll just remove it. It was used for finding out whether a user should be signed out from team or deleted.
No, the teamData has to be pulled out of token via
getTeamDataFromToken
Called it OIDCTeamData now.
no reason, had claim VikunjaGroups more agnostic to specific data type. now casts directly to []map[string]interface{}
Intermediate struct which only holds TeamName and OidcId Description. It does not exist as a Team yet or better: it is the data accessible via oidc, which the Team struct is compared against.