Open BcTpe4HbIu opened 1 month ago
Apart from interacting with the db, is there any other workaround that could work? Thx.
@BcTpe4HbIu Would you mind please sharing how did you edit the database? Thank you.
@febs That's depends on what database you are using and how you deploy your netbird management service. Assuming default docker-compose setup:
docker-compose cp ./sqlite3 management:/var/lib/netbird/sqlite3
docker-compose exec -ti management bash
cd /var/lib/netbird && cp store.db store.db.$(date +%s)
cd /var/lib/netbird && chmod +x sqlite3 && ./sqlite3 store.db
update groups set issued='jwt' where name='GROUP_NAME_HERE';
Is your feature request related to a problem? Please describe. If group was created via api it wont be assigned on users via jwt group sync. For example, if you prepare routes and policies before any user login with new groups, group will be created via API and jwt sync will ignore it. See here
Describe the solution you'd like Some kind of switch in UI for group to change
group.Issued
to JWT would be great. A switch in UI to change group type (group.Issued
) to JWT. And/Or property in api method "update group".Describe alternatives you've considered Currently I've changed
group.Issued
directly in sqlite and will try to ensure that groups are created via jwt sync. But it's not exactly easy.