-
Notifications
You must be signed in to change notification settings - Fork 254
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
As part of the #5448 issue, we will be creating a new license audit task that will set the invalid licenses and special permissions of a channel snapshot. In this issue, we'll invoke that task, and show in the Submit to Community Library Side Panel the result of that task.
Technical details
- We will wait until the channel being published loader is finished (in case it was) before doing anything else.
- We need to check the
published_dataobject and check in the current version object if thecommunity_library_invalid_licensesandcommunity_library_special_permissionsarrays have been set (or if they have been set to null). If they are already set, then there is no need to invoke the task. - If these fields have not been set yet, then enqueue the task with the action created in Create license audit task and special permissions model #5448, and do a QueryLive on the channel until these fields are set.
- Once they are set, the descriptions of the
community_library_special_permissionsarray should be loaded
4.1. For this, a newAuditedSpecialPermissionsLicenseViewsetshould be created; this viewset should be filterable by thedistributableandby_idsfields.
4.2. The side panel modal should load the license descriptions of the special permissions that have not been marked asdistributableyet. There are the only ones that will be presented in the UI. - The following updates be presented on the Submit to Community Library Side Panel:
- The user must check all the checkbox list entries to enable the submit button.
Acceptance criteria
- The license audit task is being invoked in the side panel.
- Proper Box notice is shown depending on the existence of invalid licenses.
- Proper license descriptions are loaded if the field is set.
- Submit button remains disabled until all special permissions checks are checked.
Metadata
Metadata
Assignees
Labels
No labels




