[
https://issues.apache.org/jira/browse/OFBIZ-10586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625775#comment-16625775 ]
Deepak Nigam commented on OFBIZ-10586:
--------------------------------------
Here is the [link|
https://markmail.org/message/wshrwsr6pdy474yw] of related discussion in the dev mailing list.
> Change the relation type with 'SecurityPermission' in SecurityGroupPermission entity to 'one' from 'one-nofk'
> -------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-10586
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10586> Project: OFBiz
> Issue Type: Improvement
> Components: securityext
> Affects Versions: Trunk
> Reporter: Deepak Nigam
> Assignee: Deepak Nigam
> Priority: Major
> Attachments: OFBiz-10586.patch
>
>
> In the definition of 'SecurityGroupPermission' entity, the relation type with 'SecurityPermission' entity is 'one-nofk'. Hence the system is allowing to use the permissions not defined anywhere. (ex. ORDERMGR_CRQ_ADMIN/ORDERMGR_CRQ_UPDATE, ASSETMAINT_VIEW).
>
> Change the relation type to 'one' to maintain the referential integrity.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)