[opencms-dev] User does not have access to the required "Workplace user" role.

Sergio Raposo Vargas serrapos at gmail.com
Wed Oct 26 17:06:29 CEST 2011


Is your user a workplace user or a web user?

Checks that the user has the role User Workplace to use the ADE


2011/10/26 Carlos Eduardo Atencio Torres <caratos at gmail.com>

> Hello guys,
>
> I created a user named "natalia.rosa" and when I try to login into my site,
> it throws an exception:
> javax.servlet.jsp.JspException: org.opencms.main.CmsIllegalStateException:
> The user "natalia.rosa" does not have access to the required "Workplace
> user" role.
> Reason: The user "natalia.rosa" does not have access to the required
> "Workplace user" role.
> Reason: The user "natalia.rosa" does not have access to the required
> "Workplace user" role.
>
> I don't want to give natalia.rosa the permission to access Workplace, I
> want her only modify things by using the ADE.
> So, how to fix it?.
>
> The piece of code where I do the login is:
> <%
> login.login(
>   (String) request.getParameter("name"),
>   (String) request.getParameter("password"),
>   "Offline",
>   (String)request.getParameter("requestedResource")
> );
> %>
> where requestedResource is the index.html
>
>
> --
> Carlos E. A. Torres
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20111026/f8cc73c2/attachment.htm>


More information about the opencms-dev mailing list