-
Notifications
You must be signed in to change notification settings - Fork 189
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
New resharing concept breaks testsuite #3828
Comments
@phil-davis @individual-it we need to work together on this. The main problem is that the bitmask for the permissions has |
@phil-davis @micbar @individual-it sorry this ticket is not ready yet. I'm still trying to figure out which tests need to be fixed. So nothing to do atm. Sorry for confusion |
Update: reva seems fine with the changes, we have just some spaces ocis test failing. They are explicitly testing that resharing does not work. So these need to be changed. See list of failing tests in ocis PR: |
@kobergj thanks! I am fine with adding these tests to the expected failures now. @ScharfViktor Can then evaulate changes to the gherkin steps later. |
Yes, sure. I'll do it |
Previously we could share the project space with the role of manager, which corresponded to (shareType=7, permissions=31). editor was matched 15 permissions. Now we don't differentiate between manager and editor via int permissions(manager=31 and editor=31). Do we need new int permissions for manager? The main question is: do we want to allow a user with the editor role (perm=31) to share space/object with another user via share and via link? @micbar Also, space sharing with the manager role does not work with the web. The web sends permissions=31 and gets that the user is an editor: |
Just small info: Web is already working on sending roles instead of int permissions. @fschade is that already merged? |
We found an issue with the reva test suite. You can see it in We think the problematic test line is: For now this not blocking us, as tests get green anyways, but I have no clue how many other tests are affected. |
Note: I am working on issue owncloud/core#40093 in PR owncloud/core#40095 - that aims to make all those "somebody does something related to the last share" steps work regardless of the format of share-ids. The test code will remember more of the shares that it created in a scenario, and will avoid ever having to do a "general API query" to discover the shares that exist - no more making a "partly-educated guess" about what "the last share" refers to. |
core PR owncloud/core#40114 is in review. Hopefully it all passes and can be merged overnight. Then I will bump the core-commit-id in reva and oCIS. That should help with test steps about "the last share" |
Done |
Describe the bug
With the new reshare concept some tests are failing. We need to discuss how we can adjust them (or if the reshare concept is faulty)
See cs3org/reva#2877
Steps to reproduce
With reva from cs3org/reva#2877 and master ocis run test mentioned in list
Expected behavior
The test should pass
Actual behavior
The tests fail
List
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: