mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-22 18:22:11 +00:00
9cfb69f75d
This removes the current default of checking for membership of the admin or admins group and makes it required to explicitly configure which groups should grant admin access, if any. Relying on the implicit default of admin or admins is potentially dangerous as that group may contain a different subset of people that we may wish to grant admin access to GtS. This is probably not an issue for a single-person instance, but for a community instance different admin groups may exist in an OIDC provider for different applications. I'm explicitly opting for not defaulting the value of oidc-admin-groups to admin,admins because I think it's better for those things to be explicitly configured. |
||
---|---|---|
.. | ||
activitypub | ||
auth | ||
client | ||
fileserver | ||
model | ||
nodeinfo | ||
util | ||
wellknown | ||
activitypub.go | ||
auth.go | ||
client.go | ||
fileserver.go | ||
nodeinfo.go | ||
wellknown.go |