Revision 6e522e4f web_client/src/gr/grnet/pithos/web/client/PermissionsAddDialog.java
b/web_client/src/gr/grnet/pithos/web/client/PermissionsAddDialog.java | ||
---|---|---|
140 | 140 |
selected = app.getUsername() + ":" + groupName; |
141 | 141 |
} |
142 | 142 |
if (permList.getPermissions().get(selected) != null) { |
143 |
app.displayError((userAdd ? "User " : "Group ") + "already has access to the resource"); |
|
144 |
return; |
|
143 |
return; |
|
145 | 144 |
} |
146 | 145 |
boolean readValue = read.getValue(); |
147 | 146 |
boolean writeValue = write.getValue(); |
Also available in: Unified diff