[ https://issues.apache.org/jira/browse/OFBIZ-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440429#comment-17440429 ]
Pierre Smits commented on OFBIZ-5980: ------------------------------------- Bonan posttagmezon Gill, Will you (re-)open that discussion on dev, and act as a moderator (as you're a relative bystander)? I suggest with recapping where we stand at the moment, what do you think? > 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)