Changeset 7207 for trunk/www/common/overview/info.jsp
- Timestamp:
- Oct 19, 2016, 10:42:45 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/common/overview/info.jsp
r6962 r7207 468 468 String icon = at != null && at.isProtocolParameter() ? 469 469 "parameter.png" : "annotation.png"; 470 boolean editPermission = annotatable.hasPermission(Permission.WRITE);470 boolean editPermission = snapshot.hasPermission(dc, Permission.WRITE); 471 471 %> 472 472 <tbl:row> … … 551 551 if (fix == null) continue; 552 552 BasicItem fixItem = fix.getItem(); 553 boolean enabled = fixItem.hasPermission(Permission.WRITE);554 553 AnnotationType at = fix.getAnnotationType(); 555 554 Annotation a = fix.getAnnotation(); 555 boolean enabled = a != null ? 556 a.hasPermission(Permission.WRITE) : fixItem.hasPermission(Permission.WRITE); 556 557 String autoInit = ""; 557 558 if (enabled)
Note: See TracChangeset
for help on using the changeset viewer.