NIHVIVO-2279 First stab at UserAccountsListController

This commit is contained in:
j2blake 2011-05-06 14:54:32 +00:00
parent eb6dc38408
commit 2a043f5971
2 changed files with 15 additions and 0 deletions

View file

@ -838,6 +838,7 @@
<url-pattern>/addRestriction</url-pattern> <url-pattern>/addRestriction</url-pattern>
</servlet-mapping> </servlet-mapping>
<!-- TODO This should go away as soon as the new UserAccounts are fully implemented. jblake -->
<servlet> <servlet>
<servlet-name>UsersListingController</servlet-name> <servlet-name>UsersListingController</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.edit.listing.UsersListingController</servlet-class> <servlet-class>edu.cornell.mannlib.vitro.webapp.controller.edit.listing.UsersListingController</servlet-class>
@ -847,6 +848,15 @@
<url-pattern>/listUsers</url-pattern> <url-pattern>/listUsers</url-pattern>
</servlet-mapping> </servlet-mapping>
<servlet>
<servlet-name>UserAccountsList</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.accounts.UserAccountsListController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UserAccountsList</servlet-name>
<url-pattern>/listUserAccounts</url-pattern>
</servlet-mapping>
<servlet> <servlet>
<servlet-name>StatementChangeListingController</servlet-name> <servlet-name>StatementChangeListingController</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.edit.listing.jena.StatementChangeListingController</servlet-class> <servlet-class>edu.cornell.mannlib.vitro.webapp.controller.edit.listing.jena.StatementChangeListingController</servlet-class>

View file

@ -22,10 +22,15 @@
<li><a href="${siteConfig.urls.tabs}">Tab management</a></li> <li><a href="${siteConfig.urls.tabs}">Tab management</a></li>
</#if> </#if>
<#-- TODO This goes away when the UserAccounts are fully implemented - jblake -->
<#if siteConfig.urls.users??> <#if siteConfig.urls.users??>
<li><a href="${siteConfig.urls.users}">User accounts</a></li> <li><a href="${siteConfig.urls.users}">User accounts</a></li>
</#if> </#if>
<#if siteConfig.urls.userList??>
<li><a href="${siteConfig.urls.userList}">Manage user accounts</a> (work in progress)</li>
</#if>
</ul> </ul>
</div> </div>
</#if> </#if>