Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed Nov 25, 2024
1 parent ea26691 commit 4b0929d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The version of OCIS to use in pipelines that test against OCIS
OCIS_COMMITID=bac2256c5f8f9f2af3391c561bfa992bd3df6150
OCIS_BRANCH=fix-denials-graph
OCIS_COMMITID=0fa52f26e9a9f81ffaab1c1922f16f3c43d75d2f
OCIS_BRANCH=master
4 changes: 2 additions & 2 deletions tests/e2e/cucumber/features/shares/denyShareAccess.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Feature: deny share access
And "Alice" opens folder "folder_to_shared"
# deny access
When "Alice" shares the following resource using the sidebar panel
| resource | recipient | type | role | resourceType |
| folder_to_deny | Brian | user | Cannot access. | folder |
| resource | recipient | type | role | resourceType |
| folder_to_deny | Brian | user | Cannot access | folder |
And "Brian" logs in
And "Brian" opens the "files" app
And "Brian" navigates to the shared with me page
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/cucumber/features/spaces/denySpaceAccess.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Feature: deny space access
When "Alice" navigates to the project space "sales"
# deny access
When "Alice" shares the following resource using the sidebar panel
| resource | recipient | type | role | resourceType |
| f1 | Brian | user | Cannot access. | folder |
| resource | recipient | type | role | resourceType |
| f1 | Brian | user | Cannot access | folder |
And "Brian" logs in
And "Brian" navigates to the project space "sales"
Then following resources should not be displayed in the files list for user "Brian"
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/support/api/share/share.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ export const shareRoles: Readonly<{
'Can edit': string
'Can view': string
'Secret File Drop': string
'Cannot access.': string
'Cannot access': string
}> = {
'Invited people': 'internal',
'Can upload': 'contributor',
'Can manage': 'manager',
'Can edit': 'editor',
'Can view': 'viewer',
'Secret File Drop': 'uploader',
'Cannot access.': 'denied'
'Cannot access': 'denied'
} as const

export const linkShareRoles: Readonly<{
Expand Down

0 comments on commit 4b0929d

Please sign in to comment.