Skip to content
Snippets Groups Projects
Commit a078de2f authored by Rick Herrick's avatar Rick Herrick
Browse files

XNAT-4301 Added isAdmin() to secured properties.

parent 9d5cd9f5
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ public class User {
**/
@ApiModelProperty(value = "Whether the user is a site administrator.")
public Boolean isAdmin() {
return _isAdmin;
return _secured ? null : _isAdmin;
}
public void setAdmin(final boolean isAdmin) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment