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

#8687eycab Updated CC notice workflow #400

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sab-LC
Copy link
Collaborator

@sab-LC sab-LC commented Nov 8, 2024

Issue:

Description:
CC Notices free for use (subscription not needed)

This requires institutions to have a flag of is_cc_notice_only that is set to True when Inquiry Type is CC Notice Only on account creation. This includes setting it true on the Institution model instance as well as the SF call for inquiry type.

This account will basically behave as if they don't have a subscription and will have no counts (User, API, Projects, etc). The only thing they will be able to do in the account is add Viewers and download Collections Care Notices, nothing else.

Since we have subscription functionality already set up in the subscriptions branch, nothing really needs to be adjusted except adding if institution.cc_notice_only to check for relevant functionality access.

Solution:

  • Updated institute model to add the is_cc_notice_only attribute
  • Added migration for this change
  • Updated the flow of institution creation to set is_cc_notice_only True when Collection Care notice selected by user
  • Updated permission for notice in Views and templates
  • Added some missing code

After:

CC-notice-workflow.mp4

@sab-LC sab-LC self-assigned this Nov 8, 2024
@arojas1
Copy link
Contributor

arojas1 commented Nov 8, 2024

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.

4 participants