[COMPASS-5335] Add E2E tests for users with reduced access Created: 01/Dec/21  Updated: 05/Apr/22  Resolved: 04/Apr/22

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Le Roux Bodenstein
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-5191
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Xochimilco, Iteration Yonkers

 Description   

ie. users with read, readWrite, and custom role with find / insert / update / delete actions allowed for a certain namespace. The app might behave a bit different in some cases ie. what happens if you try and create/drop a database, collection or index? What happens to the sidebar, databases, collection and index lists?

As a basic smoke level of coverage it might be enough to check that namespaces with said roles applied are visible in Compass UI and can be opened (collection workspace opens without errors)



 Comments   
Comment by Githook User [ 05/Apr/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore(e2e): Rudimentary tests for connections with reduced permissions COMPASS-5335 (#2937)

  • Rudimentary tests for connections with reduced permissions
  • :lipstick:
  • Update packages/compass-e2e-tests/tests/connection.test.ts

Co-authored-by: Anna Henningsen <anna@addaleax.net>

Co-authored-by: Anna Henningsen <anna@addaleax.net>
Branch: remove-compass-connect
https://github.com/mongodb-js/compass/commit/f6d9be9df8cc92ecebb28f2f1cfd036368180286

Comment by Githook User [ 04/Apr/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore(e2e): Rudimentary tests for connections with reduced permissions COMPASS-5335 (#2937)

  • Rudimentary tests for connections with reduced permissions
  • :lipstick:
  • Update packages/compass-e2e-tests/tests/connection.test.ts

Co-authored-by: Anna Henningsen <anna@addaleax.net>

Co-authored-by: Anna Henningsen <anna@addaleax.net>
Branch: 5623-dev
https://github.com/mongodb-js/compass/commit/f6d9be9df8cc92ecebb28f2f1cfd036368180286

Comment by Githook User [ 04/Apr/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore(e2e): Rudimentary tests for connections with reduced permissions COMPASS-5335 (#2937)

  • Rudimentary tests for connections with reduced permissions
  • :lipstick:
  • Update packages/compass-e2e-tests/tests/connection.test.ts

Co-authored-by: Anna Henningsen <anna@addaleax.net>

Co-authored-by: Anna Henningsen <anna@addaleax.net>
Branch: 1.31-releases
https://github.com/mongodb-js/compass/commit/f6d9be9df8cc92ecebb28f2f1cfd036368180286

Comment by Githook User [ 03/Apr/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore(e2e): Rudimentary tests for connections with reduced permissions COMPASS-5335 (#2937)

  • Rudimentary tests for connections with reduced permissions
  • :lipstick:
  • Update packages/compass-e2e-tests/tests/connection.test.ts

Co-authored-by: Anna Henningsen <anna@addaleax.net>

Co-authored-by: Anna Henningsen <anna@addaleax.net>
Branch: run-pipeline
https://github.com/mongodb-js/compass/commit/f6d9be9df8cc92ecebb28f2f1cfd036368180286

Comment by Githook User [ 01/Apr/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore(e2e): Rudimentary tests for connections with reduced permissions COMPASS-5335 (#2937)

  • Rudimentary tests for connections with reduced permissions
  • :lipstick:
  • Update packages/compass-e2e-tests/tests/connection.test.ts

Co-authored-by: Anna Henningsen <anna@addaleax.net>

Co-authored-by: Anna Henningsen <anna@addaleax.net>
Branch: add-gitignore-for-built-bundles
https://github.com/mongodb-js/compass/commit/f6d9be9df8cc92ecebb28f2f1cfd036368180286

Comment by Githook User [ 01/Apr/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore(e2e): Rudimentary tests for connections with reduced permissions COMPASS-5335 (#2937)

  • Rudimentary tests for connections with reduced permissions
  • :lipstick:
  • Update packages/compass-e2e-tests/tests/connection.test.ts

Co-authored-by: Anna Henningsen <anna@addaleax.net>

Co-authored-by: Anna Henningsen <anna@addaleax.net>
Branch: 5620-dev
https://github.com/mongodb-js/compass/commit/f6d9be9df8cc92ecebb28f2f1cfd036368180286

Comment by Githook User [ 01/Apr/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore(e2e): Rudimentary tests for connections with reduced permissions COMPASS-5335 (#2937)

  • Rudimentary tests for connections with reduced permissions
  • :lipstick:
  • Update packages/compass-e2e-tests/tests/connection.test.ts

Co-authored-by: Anna Henningsen <anna@addaleax.net>

Co-authored-by: Anna Henningsen <anna@addaleax.net>
Branch: COMPASS-5518-update-workspace-tabs-selection-move
https://github.com/mongodb-js/compass/commit/f6d9be9df8cc92ecebb28f2f1cfd036368180286

Comment by Githook User [ 01/Apr/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore(e2e): Rudimentary tests for connections with reduced permissions COMPASS-5335 (#2937)

  • Rudimentary tests for connections with reduced permissions
  • :lipstick:
  • Update packages/compass-e2e-tests/tests/connection.test.ts

Co-authored-by: Anna Henningsen <anna@addaleax.net>

Co-authored-by: Anna Henningsen <anna@addaleax.net>
Branch: main
https://github.com/mongodb-js/compass/commit/f6d9be9df8cc92ecebb28f2f1cfd036368180286

Generated at Wed Feb 07 22:39:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.