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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-9543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107751#comment-16107751 ]

Deepak Dixit commented on OFBIZ-9543:
-------------------------------------

Thanks Jacques for details.

Changed remove to expire and made changes accordingly for expire user login securitygroup record at framework trunk at r#1803561
As its not an bug so no need to backport to release 16.

Thanks S. Yazied for reporting the issue,

> 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: Improvement
>          Components: framework
>    Affects Versions: 16.11.03
>            Reporter: S. Yazied
>            Assignee: Deepak Dixit
>             Fix For: Upcoming Release
>
>         Attachments: screenshot-1.png
>
>
> 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)