-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add collaborators #29
base: master
Are you sure you want to change the base?
Conversation
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.
Gherkin syntax is a little bit different :-)
https://cucumber.io/docs/gherkin/reference/
No caps on the keywords.
Thanks. Fixed. |
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.
maybe work with tables to achieve the cases you want to solve with or
Scenario: Being removed as a collaborator from a resource | ||
Given I'm a collaborator of a certain resource | ||
When an Owner removes me from the resource as in 'Scenario: Removing a collaborator from a resource' | ||
Or a Co-Owner removes me from the resource as in 'Scenario: Removing a collaborator from a resource' |
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.
Or is not allowed.
You need an extra scenario ;-)
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.
IIRC that "Or" thing was introduced by you here: a60caaf#diff-1c40b780bdbf7746a4b6f27bb29fd912R6
Anyway, will try to change it, thanks.
Given I'm logged in as a user | ||
When I have accepted collaborator invites | ||
Or I have pending collaborator invites as in 'Scenario: Being added as a collaborator to a resource (Pending Shares enabled)' | ||
Or I have shared resources that I removed from my personal space previously as in 'Feature: Removing a shared resource from a user's personal space' |
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.
same
Scenario: Adding a shared resource to a user's personal space | ||
Given I'm a logged in user | ||
When I have pending collaborator invites as in 'Scenario: Being added as a collaborator to a resource (Pending Shares enabled)' | ||
Or I have declined collaborator invites |
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.
same
Given I'm a collaborator of a specific resource | ||
And I have the role 'Owner' | ||
# Or I have the role 'Co-Owner' | ||
When looking at the resource in detail |
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.
same
Given I'm a collaborator of a specific resource | ||
And I have the role 'Owner' | ||
# Or I have the role 'Co-Owner' | ||
Or I have the permission 'Share' |
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.
same
Given I'm a collaborator of a specific resource | ||
And I have the role 'Owner' | ||
# Or I have the role 'Co-Owner' | ||
Or I have the permission 'Share' |
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.
same
Scenario: Setting roles for collaborators on a single file | ||
Given I'm a collaborator of a specific file | ||
And I have the role 'Owner' | ||
# Or I have the role 'Co-Owner' |
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.
same
Scenario: Setting roles for collaborators on a folder | ||
Given I'm a collaborator of a specific folder | ||
And I have the role 'Owner' | ||
# Or I have the role 'Co-Owner' |
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.
same
Thanks @micbar! Feedback addressed. |
This PR adds the current state of features around collaborators.
Options for autocomplete results=> Not yet implemented => separate PRExtra field to display in autocomplete results=> Not yet implemented => separate PR