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

Beta #6923

Closed
wants to merge 2 commits into from
Closed

Beta #6923

wants to merge 2 commits into from

Conversation

mohamedhabibwork
Copy link

This pull request includes several changes to enhance the permission checks and improve the query filtering logic in various parts of the codebase. The most important changes include updating the Docker image version, adding superuser checks to permission methods, and incorporating the Q object for complex queries.

Permission Enhancements:

  • Added superuser checks to various has_permission methods across multiple files, ensuring superusers have access. (label_studio/core/api_permissions.py, label_studio/data_export/mixins.py, label_studio/data_import/models.py, label_studio/data_manager/models.py, label_studio/io_storages/base_models.py, label_studio/labels_manager/models.py, label_studio/ml/models.py, label_studio/organizations/mixins.py, label_studio/projects/models.py) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Query Filtering Improvements:

  • Incorporated the Q object to handle complex query filtering based on user roles and permissions. (label_studio/data_export/api.py, label_studio/data_manager/api.py, label_studio/organizations/serializers.py, label_studio/projects/api.py) [1] [2] [3] [4]

Docker Image Update:

  • Updated the PostgreSQL Docker image version from 13-alpine to 17-alpine in docker-compose.yml to ensure compatibility and leverage new features. (docker-compose.yml)

Import Statements:

  • Added missing import statements for Q objects to support the new query filtering logic. (label_studio/data_export/api.py, label_studio/data_manager/api.py, label_studio/organizations/serializers.py, label_studio/projects/api.py) [1] [2] [3] [4]

Project and Task Management:

  • Enhanced project and task management queries to include checks for superusers and project creators, ensuring appropriate access control. (label_studio/data_manager/managers.py, label_studio/projects/api.py, label_studio/projects/models.py) [1] [2] [3]

Replaced the favicon, added new logo files in multiple formats (ICO, PNG, and SVG), and updated the SVG logo content. These changes enhance branding and ensure compatibility across different platforms and use cases.
@mohamedhabibwork mohamedhabibwork requested a review from a team as a code owner January 17, 2025 07:08
Copy link

netlify bot commented Jan 17, 2025

👷 Deploy request for label-studio-docs-new-theme pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 80df524

Copy link

netlify bot commented Jan 17, 2025

👷 Deploy request for heartex-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 80df524

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

Successfully merging this pull request may close these issues.

1 participant