[
https://issues.apache.org/jira/browse/OFBIZ-9543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108493#comment-16108493 ]
Jacques Le Roux commented on OFBIZ-9543:
----------------------------------------
Hi Deepak,
Should we not remove the removeUserLoginToSecurityGroup service?
Actually before I ask the community about that, what do you think about the services which delete an entity record? We have at least 157 of them (looking for <service name="remove). We claim that we should not remove entities records because of auditing. Should we not remove deleting services and have only expire services for those which support expire (have from and thru dates)?
So we would remove all the delete services and add expire services when necessary. I feel it's a bit too much and needs more thoughts, but what is your opinion? I ask you about that because we already agreed about OFBIZ-9185, thanks!
> 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)