Page 1 of 1

Removing "Users" from Home Screen

PostPosted: Thu Nov 22, 2012 3:06 pm
by getzjd
Though I found the other posts on how to restrict access to the Status and About pages by editing the applicationcontext-security.xml file, I still cannot figure out how to remove or restrict access to the "users" link from the home screen ie. Recently Played | All | Users.

Ideas?

Re: Removing "Users" from Home Screen

PostPosted: Thu Nov 22, 2012 4:12 pm
by hakko
I think you can remove it from being visible here:

http://svn.code.sf.net/p/subsonic/code/ ... p/home.jsp

Remove the word "users" from where it says
Code: Select all
<c:forTokens items="random newest starred highest frequent recent alphabetical users" delims=" " var="cat" varStatus="loopStatus">


Further down, it says
Code: Select all
<c:when test="${model.listType eq 'users'}">


You might want to do something about that, too, if somebody still explicitly goes to home.view?listType=users.

Re: Removing "Users" from Home Screen

PostPosted: Sat Dec 08, 2012 3:41 pm
by getzjd
That worked just fine. Thank you for pointing out where I could find it.