Browsing Repositories and Repository Groups
Available in Nexus Repository OSS and Nexus Repository Pro
One of the most straightforward uses of the repository manager is to browse. Browsing allows you to inspect the contents of any repository or repository group for all the supported repository formats. Users with the nx-repository-view Privilege can access the left naviagation item.
Click on the Browse
button in the main toolbar and then the left navigation Browse item to access the Browse feature. This feature allows you to select a repository or repository group to browse from the list of all repositories as displayed in Figure: “List of Repositories to Access for Component Browsing”.Figure: List of Repositories to Access for Component Browsing
Once you click on the row for a specific repository a tree containing all assets in the repository is displayed. You can filter the tree content, expand nodes you’re interested in, and select components or assets for more detail. Nodes in the tree are sorted in case insensitive order. Versions are sorted semantically. This tree is shown in Figure: “Tree View Containing All Assets in a Repository”.
Figure: Tree View Containing All Assets in a Repository
When you select a component or asset, an information view appears on the right. This view is shown in Figure: “Information View for a Selection in the Tree View”. The information in this view is the same as the asset and component information views for search, but laid out as a series of scrolling panels instead of separate tabs. Additionally, in Nexus Repository Manager Pro there will also be a scrolling panel named Component Tags that will present tags information in the same manner as when viewing tag information in the search results view.
Figure: Information View for a Selection in the Tree View
Security Details
In the event you do not want to give your users full nx-repository-view-* permission to browse, there are a number of limiting options available.
Read
gives the ability to access the contents of the repository via client tools, REST, curl and the like. It does not give any UI permissions (e.g. you cannot see the Browse left nav item with just this permission).Browse
gives the ability to access the UI Browse feature via the left navigation and the see details of contents and download as described above.Add
gives the ability to send a POST request to NXRM to upload contents. This does not give any access to the UI (UI Upload uses another privilege). NOTE: Most formats if NXRM3 use PUT requests which could cause this permission to seem like it's not working. IfAdd
is not working for you, tryEdit
.Edit
gives the ability to send a PUT request to NXRM to upload contents. This does not give any access to the UI (UI Upload uses another privilege). NOTE: Some formats in NXRM3 use POST requests which could cause this permission to seem like it's not working. IfEdit
is not working for you, tryAdd
.Delete
gives the to delete content from repositories but adding and editing creation is not allowed. Note, this does not give the ability to see the contents soRead
orBrowse
will be needed in addition, depending on the delete method being used.
The stars in nx-repository-view-*-*-* represent format, repository and limiting options above respectively, * being inclusive of all. So *-*-* as shown is all formats, all repositories, all options.