-
freelance software developer @local-it @pragma-shift @foodsoft
- Joined on
2022-10-12
only if it has teamIDsToLeave, but yeah I agree.
The problem is more the oidc structure itself, that you "have" to check for changes "everytime" you sign in..
If you have a look at:
3643ffe0d0/src/helpers/redirectToProvider.ts (L18)
You'll see the hardcoded scope. But to…
one is the required scope, which has to be customized -> vikunja_scope another one is a key for the groups within this scope -> vikunja_groups.
@waza-ari you can do sth like
But i could not find out how to add codestyle `user.groups.each…
went for:
_, err = s.Where("team_id IN (?) AND user_id = ?", strings.Join(strSlice, ","), u.ID).Delete(&models.TeamMember{})
You mean something like:
func RemoveUserFromTeamsByIds(s *xorm.Session, u *user.User, teamIDs []int64) (err error) {
if len(teamIDs) < 1 {
return nil
}
strSlice := make([]strin…
in authentik it is called oidcID
in migration:
type teams20230104152903 struct {
OidcID string `xorm:"varchar(250) null" maxLength:"250" json:"oidc_id"`
}
Therefore in the…
if a member sits on a team as last member, then the member cannot leave other teams. ...is edited. I meant: the member cannot leave this team, if it is the last membership.
where the…
hallo, ich habe gesehen, dass der alte PR geschlossen wurde. Wie sieht es denn hiermit aus? Die Changes sind alle eingearbeitet.. lg
it is supposed to be a final document for admins, with relevant information for admins.