-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: Pennsieve guest contributors can use Prepare Dataset Step-by-Step #378
Conversation
feat: 15.3.0
…ihub/SODA-for-SPARC into guest-contributor-fixes
…ihub/SODA-for-SPARC into guest-contributor-fixes
…ihub/SODA-for-SPARC into guest-contributor-fixes
…skip permissions page
Thank you for submitting this pull request! We appreciate your contribution to the project. Before we can merge it, we need to review the changes you've made to ensure they align with our code standards and meet the requirements of the project. We'll get back to you as soon as we can with feedback. Thanks again! |
Reviewer's Guide by SourceryThis pull request introduces a change that allows guest contributors in Pennsieve to utilize the "Prepare Dataset Step-by-Step" feature. The core implementation revolves around checking the user's permissions to modify Pennsieve dataset metadata. If a user lacks these permissions, specific steps within the guided dataset preparation workflow are skipped. Sequence diagram for guest contributor dataset preparation flowsequenceDiagram
actor Guest as Guest Contributor
participant SODA as SODA App
participant API as Pennsieve API
Guest->>SODA: Start dataset preparation
SODA->>API: getDatasetAccessDetails()
API-->>SODA: Return {userRole, userCanModifyPennsieveMetadata}
alt userCanModifyPennsieveMetadata is false
SODA->>SODA: Skip permissions tab
SODA->>SODA: Skip banner image tab
SODA->>SODA: Skip license tab
else userCanModifyPennsieveMetadata is true
SODA->>SODA: Show all tabs
end
SODA-->>Guest: Display appropriate workflow steps
State diagram for dataset preparation permissionsstateDiagram-v2
[*] --> CheckPermissions
CheckPermissions --> GuestFlow: userCanModifyPennsieveMetadata = false
CheckPermissions --> FullFlow: userCanModifyPennsieveMetadata = true
state GuestFlow {
[*] --> LimitedAccess
LimitedAccess: - No permissions management
LimitedAccess: - No banner image
LimitedAccess: - No license management
}
state FullFlow {
[*] --> FullAccess
FullAccess: - All features available
FullAccess: - Can modify permissions
FullAccess: - Can set banner image
FullAccess: - Can manage license
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Thanks for making updates to your pull request. Our team will take a look and provide feedback as soon as possible. Please wait for any GitHub Actions to complete before editing your pull request. If you have any additional questions or concerns, feel free to let us know. Thank you for your contributions! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @aaronm-2112 - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Thanks for closing this pull request! If you have any further questions, please feel free to open a new issue. We are always happy to help! |
Quality Gate passedIssues Measures |
Summary by Sourcery
Update the Prepare Dataset Step-by-Step feature to allow guest contributors on Pennsieve datasets to use it.
New Features:
Tests: