You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/07/24 16:42:00 UTC

DO NOT REPLY [Bug 21314] - Admin app edit overwrites roles in tomcat-users

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21314>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21314

Admin app edit overwrites roles in tomcat-users

cybernigma@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cybernigma@hotmail.com
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From cybernigma@hotmail.com  2003-07-24 14:41 -------
This happens regardless of whether the fullname is changed, so long as
the Save button is pressed.  Looking at the user.jsp for the webapp, evidently
someone removed three lines (two includes and a break) which completely remove
the capability to manage the users' roles.  I would like to know the reasoning
behind this (another bug, etc?).  Until it is clarified, here is a quick fix:

Insert the following piece of code  (between the dashes) in the spot shown in
%TOMCAT_HOME%\server\webapps\admin\users\user.jsp:

</table>

  <bean:define id="checkboxes" scope="page" value="true"/>
  <br>
<!-- ----------- Begin Insert --------------- -->
  <%@ include file="groups.jspf" %>
  <br>
  <%@ include file="roles.jspf" %>
<!-- ----------- End Insert ----------------- -->

  <%@ include file="../buttons.jsp" %>

</html:form>


-=[Kevin]=-
Kevin L Keathley
Computer Sciences Corporation

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org