You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "S. Yazied (JIRA)" <ji...@apache.org> on 2017/07/30 08:21:01 UTC

[jira] [Created] (OFBIZ-9543) Removing Assignment between UserLogin and SecurtyGroup does not work

S. Yazied created OFBIZ-9543:
--------------------------------

             Summary: Removing Assignment between UserLogin and SecurtyGroup does not work
                 Key: OFBIZ-9543
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9543
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: 16.11.03
            Reporter: S. Yazied
             Fix For: 16.11.04


Removing Assignment between UserLogin and SecurtyGroup does not work, I solved it like this:

in file framework/common/webcommon/WEB-INF/security-controller.xml

    <request-map uri="userLogin_removeUserLoginFromSecurityGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="*updateUserLoginToSecurityGroup*"/>
        <response name="success" type="view" value="EditUserLoginSecurityGroups"/>
        <response name="error" type="view" value="EditUserLoginSecurityGroups"/>
    </request-map>

should be:

    <request-map uri="userLogin_removeUserLoginFromSecurityGroup">
        <security https="true" auth="true"/>
        <event type="service" path="" invoke="*removeUserLoginToSecurityGroup*"/>
        <response name="success" type="view" value="EditUserLoginSecurityGroups"/>
        <response name="error" type="view" value="EditUserLoginSecurityGroups"/>
    </request-map>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)