Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feat: add permissions needed for cohort characterization and feature analysis to role 15 - #176

Merged
pieterlukasse merged 2 commits into
2.15.0-DEVfrom
feat/enable_cohort_characterization_and_fix_permission_issues
Mar 14, 2025
Merged

pieterlukasse merged 2 commits into
2.15.0-DEVfrom
feat/enable_cohort_characterization_and_fix_permission_issues

Conversation

@pieterlukasse

@pieterlukasse pieterlukasse commented Feb 5, 2025

Copy link
Copy Markdown

Link to JIRA ticket if there is one:
https://ctds-planx.atlassian.net/browse/VADC-1720
https://ctds-planx.atlassian.net/browse/VADC-1602

New Features

  • adds a limited set of cohort-characterization permissions to the restricted role 15. This improves the security of this part, and allows for "team project" support for cohort-characterizations.

Breaking Changes

  • the limited set of permissions might break some edge (use) cases

Bug Fixes

  • fixes the issue where cohort-characterization list disappears temporarily after one item is removed

Improvements

  • limits the permissions users have on cohort-characterization, paving the way to restricted access based on "team projects"

Deployment changes

@pieterlukasse
pieterlukasse marked this pull request as ready for review March 7, 2025 18:11
@pieterlukasse
pieterlukasse marked this pull request as draft March 7, 2025 18:14
@pieterlukasse
pieterlukasse force-pushed the feat/enable_cohort_characterization_and_fix_permission_issues branch 3 times, most recently from daa0c0a to 76036ea Compare March 11, 2025 19:16
@pieterlukasse pieterlukasse changed the title tmp: the extra permissions needed for cohort characterization and feature analysis Feat: add permissions needed for cohort characterization and feature analysis to role 15 Mar 11, 2025
@pieterlukasse
pieterlukasse marked this pull request as ready for review March 13, 2025 17:40
…d feature analysis to role 15

fix: disable two unecessary global cohort-characterization permissions, incompatible with "teamprojects"
...and improve debug logs

fix: add cohort-characterization id to various methods/api calls

- This allows for the correct (more strict) permission check to find place
based on the user's permissions on the given cohort-characterization

- Also expanded the new api patterns into CohortCharacterizationPermissionSchema
and removed cohort-characterization permissions that were too broad from role 15
migration script.
@pieterlukasse
pieterlukasse force-pushed the feat/enable_cohort_characterization_and_fix_permission_issues branch from 4235a4f to a68954d Compare March 13, 2025 17:47
@pieterlukasse
pieterlukasse requested a review from tianj7 March 13, 2025 17:47
@pieterlukasse
pieterlukasse merged commit d409c3b into 2.15.0-DEV Mar 14, 2025
@pieterlukasse
pieterlukasse deleted the feat/enable_cohort_characterization_and_fix_permission_issues branch March 14, 2025 20:26
pieterlukasse added a commit that referenced this pull request Apr 10, 2025
…analysis to role 15 (#176)

* feat: add the extra permissions needed for cohort characterization and feature analysis to role 15

fix: disable two unecessary global cohort-characterization permissions, incompatible with "teamprojects"
...and improve debug logs

fix: add cohort-characterization id to various methods/api calls

- This allows for the correct (more strict) permission check to find place
based on the user's permissions on the given cohort-characterization

- Also expanded the new api patterns into CohortCharacterizationPermissionSchema
and removed cohort-characterization permissions that were too broad from role 15
migration script.

* fix: remove wrong/nonsensical(?) role cohort-characterization:design:%s:get
pieterlukasse added a commit that referenced this pull request Oct 22, 2025
See #176 - parking this part until we are
ready to fully implement and test Cohort Characterizations (CC)
pieterlukasse added a commit that referenced this pull request Oct 22, 2025
See #176  . We will keep this test and code changes for now
pieterlukasse added a commit that referenced this pull request Oct 24, 2025
See #176 - parking this part until we are
ready to fully implement and test Cohort Characterizations (CC)
pieterlukasse added a commit that referenced this pull request Oct 24, 2025
See #176  . We will keep this test and code changes for now
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.

2 participants