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

Fix/final global sharing #2

Merged

Conversation

pieterlukasse
Copy link

@pieterlukasse pieterlukasse commented May 15, 2024

Introduces a new permission cohortdefinition:global:share:put to be used in combination with new config limitedPermissionManagement for checking if user should be given the ability to share/publish a cohort definition (in read-only mode) to the "public" role.

The new limitedPermissionManagement replaces the previous config permissionManagementRoleId.

@pieterlukasse
Copy link
Author

add this to config:

      // This tells Atlas to show the 'lock' icon to the user when
      // viewing concept sets, cohort definitions, and other
      // artifacts so that the can edit READ and WRITE
      // permissions. By default, this is set to true
      configLocal.enablePermissionManagement = true;  // Default is false
      // If the enablePermissionManagement is set to true, you can specify
      // if this capability should be limited to only users that have a
      // specific permission for this. Leave false if all users should have that ability.
      configLocal.limitedPermissionManagement = true;  // Default is false all users can share
      configLocal.cohortComparisonResultsEnabled = false;
      configLocal.userAuthenticationEnabled = true;
      configLocal.plpResultsEnabled = false;
      return configLocal;

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