Project

General

Profile

Actions

task #7099

closed

Make CdmAuthority a persistable class

Added by Andreas Müller over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Highest
Category:
cdm
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Tags:

Description

We need a persistable Authority base class which will then be extended by classes Role and CdmAuthority. It will replace the existing GrantedAuthorityImpl.

We need the following fields for CdmAuthority:

  • permissionClass (hibernate user type for the enum required)
  • property (String)
  • operation (hibernate user type for enumSet required)
  • targetUuid

NOTE: first read #7100 which extends this model change

For Role we only need:

  • role (String, or if Role becomes an enum, => enum user type)

https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/WorkshopRightsAndRoles2017-11


Related issues

Related to EDIT - task #7100: Split CdmAuthority into operations and filtersNewAndreas Müller

Actions
Related to EDIT - feature request #4922: GrantedAuthorities not reusable anymoreNewAndreas Müller

Actions
Related to EDIT - task #7089: Rights and Roles Workshop 2017-11In ProgressAndreas Müller

Actions
Precedes EDIT - bug #8473: Migrate from GrantedAuthoritiesImpl to CdmAuthority and RoleNewAndreas Kohlbecker

Actions
Copied from EDIT - feature request #3133: security: preparation and first steps for Role, CdmAuthority and GrantedAuthorityImpl implement GrantedAuthorityClosedAndreas Kohlbecker

Actions
Copied to EDIT - feature request #8464: Make AuthorityBases uniqueNewAndreas Müller

Actions
Actions

Also available in: Atom PDF