Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello
We migrated 440+ repositories yesterday from server to cloud edition.
Is there a massive way to script/use a product to setup the permission scheme ?
On server, previously we setup the permissions on project level and so all repos inherited their permissions from the project permission scheme.
Now it seems I need to manually re-enter 440 permission scheme (99.99% will be the same)
Has anyone already faced the question ? Thanks for the help in advance
Hi Yannick,
You could use our API to script this. Version 2 of our API doesn't provide endpoints for user and group management, so we still offer temporary support to certain 1.0 API resources for that purpose.
On this documentation page, you can see the endpoints and examples for
- creating a new user group
- adding a member to a user group
This page includes the endpoint for adding a group to a repository.
If you have any questions specific to your use case, please feel free to let me know.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.