[
https://issues.apache.org/jira/browse/OFBIZ-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440283#comment-17440283
]
Gil Portenseigne commented on OFBIZ-5980:
-----------------------------------------
Hello [~pierresmits] , [~jleroux] ,
Indeed this bug/improvement will lead to big changes like discussed in
OFBIZ-5959.
This was some exchange with the community at
[https://markmail.org/message/pqrmv5vpjgm6iigq#query:+page:1+mid:isaoze65bbciuytc+state:results]
Maybe we should discuss it again now. [~pierresmits] would you mind discuss it
with the community before continuing the dev effort ?
Regards,
> Have the ability to revoke (expire) roles of a party
> ----------------------------------------------------
>
> Key: OFBIZ-5980
> URL: https://issues.apache.org/jira/browse/OFBIZ-5980
> Project: OFBiz
> Issue Type: Bug
> Components: party
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Assignee: Pierre Smits
> Priority: Major
> Labels: roles
> Fix For: Upcoming Branch
>
>
> Currently it is only possible to delete a PartyRole record from a party.
> Which leads to error messages, when that particular Partyrole record is
> associated with records in other entities where the PartyRole entity is set
> as a relation (through <relation rel-entity-name="PartyRole"> which is
> applied as a foreign key relation in the underlying dbms ).
> Examples of such related entities that are:
> * entity-name="MarketingCampaignRole"
> * entity-name="BudgetRole"
> In order to avoid such, it is better to revoke the PartyRole record by
> setting an expiration date (end date) on the record.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)