Not directly, but you could add this fairly easily. The file that contains the upload menu is in the XNAT war (or exploded application) at xnat-templates/screens/topBar/Upload.vm. You could modify that so it looks like this:
<!-- Sequence: 30 —>
#if($turbineUtils.isSiteAdmin($user))
<li><a href="#upload">Upload</a>
<ul>
#addGlobalCustomScreens("topBar/Upload”)
</ul>
</li>
#end
The only differences between this and the standard version of this file are the highlighted lines. You could put this directly in your deployment at templates/screens/topBar/Upload.vm (files under the templates folder take precedence over files with the same path but under xnat-templates) or you could build a simple plugin file by putting your template in a folder under META-INF/resources so that the full path to the file is:
META-INF/resources/templates/screens/topBar/Upload.vm
Then run:
jar cf upload-plugin.jar META-INF/resources/templates/screens/topBar/Upload.vm
Put upload-plugin.jar into your XNAT plugins folder and restart.
Rick Herrick
Senior Software Developer
------ Original Message ------
Date 1/30/2023 1:20:43 PM
Subject [XNAT Discussion] How to disable "Upload" on the top navigation for non admin users