go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
1.02k stars 71 forks source link

OpenID users can't join as an Admin of a Team #327

Closed vish9812 closed 2 months ago

vish9812 commented 2 months ago

Description

As per the docs, there should be an option to manager team membership.

If the vikunja_groups is part of the ID token, Vikunja will start the procedure and import teams and team memberships.

However, the vikunja_groups scope structure doesn't have any option to pass such memberships.

{
    "vikunja_groups": [
        {
            "name": "team 3",
            "oidcID": 33349,
            "description": "My Team Description",
            "isPublic": true
        },
    ]
}

Currently, all users shows as "member" by default.

Expected: There should be a field like "membership" to pass "admin" or "member" to assign the team membership.

Also, is there any concept of "overall/global" admin in this app?

Vikunja Version

0.24 (db411e036aed)

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

kolaente commented 2 months ago

The docs may be a little unclear here, it is meant that Vikunja will create the teams and the membership automatically. These teams do not have an admin because the team is entirely managed by the oidc provider. This is intended behaviour.

Also, is there any concept of "overall/global" admin in this app?

There are plans to extend Vikunja so that it does but currently there is no such concept.