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

ASF subversion and git services commented on OFBIZ-5980:
--------------------------------------------------------

Commit 8ed2252df82be226d99d97250c659a1f8e3211fe in ofbiz-framework's branch 
refs/heads/trunk from Pierre Smits
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=8ed2252 ]

(OFBIZ-5980) Improvement: PartyRole record(s) expiration/revocation (#325)

added/changed/updated:
- added field definition for from and through date to the entity
- added service for expiration
- request-map for expiration
- appropriate forms to work with  added entity fields
- added groovy code to check existing when adding PartyRole record and call 
expiration service if needed
- adding fromDate value to seed, test and demo data

> 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: Improvement
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>            Priority: Major
>              Labels: roles
>             Fix For: Upcoming Branch
>
>
> Currently it only possible to delete a role.
> Which can lead to potential error messages, when a particular role is 
> associated with records where the roleTypeId is used as a foreign key in the 
> entity-model/database and the user tries to delete that role from the list.
> 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.3.4#803005)

Reply via email to