Skip to content

V2 endpoints for user and access management #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Feb 24, 2025

Conversation

harminius
Copy link
Contributor

resolves #227

Implement v2 endpoints for creating user and CRUD on workspace and project roles.

- add project and workspace role enums
- add optional username to create_user
- remove redudant arguments from delete() method
- add tests for failures - permission issue, duplicate call, editor limit hit
@harminius harminius requested a review from varmar05 February 14, 2025 17:11
Copy link
Contributor

@MarcelGeo MarcelGeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice..

  • one suggest for methods add_user_permissions_to_project,remove_user_permissions_from_project - we can add there message that this function will be deprecated in next major release 1.0.0 ?

  • could we use new introduced methods also in tests e.g for test_editor_push and similar?

@harminius harminius requested a review from MarcelGeo February 17, 2025 16:18
@MarcelGeo MarcelGeo merged commit c33f4a9 into master Feb 24, 2025
4 checks passed
@MarcelGeo MarcelGeo deleted the v2_endpoints_for_user_and_access_management branch February 24, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement /v2 endpoints for user and access management
3 participants