Index: lams_central/src/java/org/lamsfoundation/lams/web/IndexAction.java =================================================================== diff -u -r853c58251cf95f1f8d1564f7ce0f351a3fae4190 -r506cec1b876240c9971b18e6621b09d9cec2ae1e --- lams_central/src/java/org/lamsfoundation/lams/web/IndexAction.java (.../IndexAction.java) (revision 853c58251cf95f1f8d1564f7ce0f351a3fae4190) +++ lams_central/src/java/org/lamsfoundation/lams/web/IndexAction.java (.../IndexAction.java) (revision 506cec1b876240c9971b18e6621b09d9cec2ae1e) @@ -84,16 +84,16 @@ // only set header links if we are displaying 'active' organisations; i.e., on the index page if(state.equals(OrganisationState.ACTIVE)){ List headerLinks = new ArrayList(); - if (request.isUserInRole(Role.AUTHOR)) { + if (request.isUserInRole(Role.AUTHOR) || request.isUserInRole(Role.AUTHOR_ADMIN)) { log.debug("user is author"); headerLinks.add(new IndexLinkBean("index.author", "javascript:openAuthor()")); } if (request.isUserInRole(Role.SYSADMIN) || request.isUserInRole(Role.COURSE_ADMIN) || request.isUserInRole(Role.COURSE_MANAGER)) { - log.debug("user is an admin or manager"); + log.debug("user is a course admin or manager"); headerLinks.add(new IndexLinkBean("index.courseman", "javascript:openOrgManagement(" + getService().getRootOrganisation().getOrganisationId()+')')); } - if (request.isUserInRole(Role.SYSADMIN)) { - log.debug("user is sysadmin"); + if (request.isUserInRole(Role.SYSADMIN) || request.isUserInRole(Role.AUTHOR_ADMIN)) { + log.debug("user is sysadmin or author admin"); headerLinks.add(new IndexLinkBean("index.sysadmin", "javascript:openSysadmin()")); } headerLinks.add(new IndexLinkBean("index.myprofile", "javascript:openProfile()"));