Skip to content
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

feat(organization): restrict user management to organization form TASK-1315 #5314

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

noliveleger
Copy link
Contributor

📣 Summary

Limit user management (add/edit) exclusively to the organization form in (Django) admin interface

📖 Description

This PR removes the ability to add or edit users outside the organization form. It ensures centralized and consistent user management within the organization.
Updated relevant components and endpoints to enforce this restriction.

💭 Notes

Organization invitations section has also been removed (until further notice).

- Make OrganizationUsers fields read-only in Organization form
- Remove add/change OrganizationUsers from Organization users section
- Remove Organization invitations section
@noliveleger noliveleger requested a review from jnm as a code owner December 2, 2024 15:50
@noliveleger noliveleger requested review from rajpatel24 and removed request for jnm December 2, 2024 15:50
@noliveleger noliveleger self-assigned this Dec 2, 2024
Copy link
Contributor

@rajpatel24 rajpatel24 left a comment

Choose a reason for hiding this comment

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

LGTM

@noliveleger noliveleger merged commit 4040ecc into main Dec 3, 2024
7 checks passed
@noliveleger noliveleger deleted the task-1315-django-admin-improvements branch December 3, 2024 14:13
rgraber pushed a commit that referenced this pull request Dec 3, 2024
)

Limit user management (add/edit) exclusively to the 
organization form in (Django) admin interface
Copy link

@noliveleger noliveleger changed the title feat(organization): restrict user management to organization form feat(organization): restrict user management to organization form TASK-1315 Dec 5, 2024
Copy link

Copy link

1 similar comment
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants