Issue 18143

Do not allow to link people to inactive GbifRole

18143
Reporter: cgendreau
Assignee: hoefft
Type: Improvement
Summary: Do not allow to link people to inactive GbifRole
Priority: Major
Resolution: Done
Status: Done
Created: 2016-01-11 16:31:19.299
Updated: 2016-06-03 16:57:10.833
Resolved: 2016-06-03 16:57:10.83
        
Description: The enumeration returned by /enumeration/gbif_role includes all roles including the legacy roles that should be used to create new relationships between person and GbifRole.

Since the following commit:
https://github.com/gbif/directory/commit/eb8450a4d3f0428835afbe6fb129c7b88c11e9d9

a new endpoint /role will only return the active GbifRole.]]>
    


Author: hoefft
Comment: for other endpoints we filter on active using the status parameter. Would it make sense to do the same for the roles. Returning active per default and then the option to ask for past roles. 
Created: 2016-01-11 16:49:41.919
Updated: 2016-01-11 16:49:41.919


Author: cgendreau
Comment: yes it would
Created: 2016-01-11 16:51:45.576
Updated: 2016-01-11 16:51:45.576