[COMPASS-2245] As a user with limited permissions (read-only on a specific collection) I want to view which collections I have access to and specify the collection to access when providing my connection details Created: 31/Oct/17  Updated: 02/Aug/21  Resolved: 27/Sep/19

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

Type: New Feature Priority: Major - P3
Reporter: Linda Qin Assignee: Unassigned
Resolution: Incomplete Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2019-06-10 at 15.14.16.png     PNG File Screen Shot 2019-06-10 at 15.16.27.png     PNG File Screen Shot 2019-06-10 at 15.21.17.png    
Issue Links:
Depends
depends on SERVER-32942 mongo shell: for users authorized to ... Closed
Duplicate
Related
related to COMPASS-3389 Confusing behavior when connecting wi... Closed
is related to COMPASS-3562 Can't connect to DB in Atlas when use... Open

 Description   

Problem description
Users with collection-level access are unable to browse through the collections that they are authorized to access in Compass.

Product acceptance criteria

  • Make use of the userInfo command with showPriveledges:true to enable enumerate which namespaces a user has access on.
  • Display this list in the sidebar
  • Display this list in the namespace "homescreen"
  • The user should be able to click on a displayed namespace.
  • The user should be taken to the normal "Compass experience" after selecting a namespace.


 Comments   
Comment by Massimiliano Marcon [ 27/Sep/19 ]

Closing this issue in JIRA. It's been moved to the new, unified feedback engine at https://feedback.mongodb.com/forums/924283-compass.

We are looking for input to decide how to prioritize it, so go there, look for the suggestion, vote and leave comments. If you don't find it, feel free to create a new one.

Comment by Daniel Pasette (Inactive) [ 14/Mar/18 ]

This is definitely a broader problem that is impacting a number of different products: compass, BIC, mongo shell (SERVER-32942). We should try to come up with a holistic solution that works for all (TBD what that is). I don't want a lot of people reinventing the wheel here.

spencer.jackson says: "I think we should make listCollections list all collections visible in connectionStatus." alyson.cabral and andrew.davidson have had this conversation with Spencer in the past.

I realize this doesn't help old servers.... But it would be nice to fix it for future clients; we should probably do the "real" fix and the "hack" fix outlined in the comment Andrew mentioned before.

Comment by Sam Weaver [ 14/Feb/18 ]

Agreed updated the ticket to reflect this. Sorry for the delay.

Comment by Jonah Cohen [ 30/Jan/18 ]

I agree with andrew.davidson - would be a much better use experience to simply show the collections which the users have access to.

Comment by Andrew Davidson [ 26/Jan/18 ]

I would strongly argue that this is a sub-optimal approach.

A much better user experience would be to utilize the suggestion here:
https://jira.mongodb.org/browse/HELP-5705?focusedCommentId=1785246&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1785246

To deduce those namespaces the user is authorized to access, and display their namespaces that exist in Compass.

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