Opened 10 years ago
Closed 10 years ago
#1910 closed enhancement (fixed)
Disable annotation inheritance for annotation types
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.5 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
Since annotations can contain sensitive data it may be a good idea to be able to block annotations to be inherited. This should be a flag on the annotation type that can be either on (=do not allow) or off (=allow).
Changing the flag from off to on should remove all currently inherited annotations for that annotation type.
Note that annotations can also be inherited as part of a complete set and this can of course not be blocked. It needs to be investigated how to prevent using annotation types (eg. in queries, exports, etc.) in a way that makes it possible to bypass the block by inheriting the annotation set instead of individual annotations.
Change History (13)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
comment:4 by , 10 years ago
comment:5 by , 10 years ago
comment:6 by , 10 years ago
comment:7 by , 10 years ago
(In [6733]) References #1910: Disable annotation inheritance for annotation types
Do not return annotations for annotation types with inheritance disabled when using the SnapshotManager
to find inherited annotations. This is needed when inheriting an annotation set, since all annotations would otherwise be included.
comment:8 by , 10 years ago
comment:9 by , 10 years ago
comment:10 by , 10 years ago
comment:11 by , 10 years ago
comment:12 by , 10 years ago
comment:13 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [6728]) References #1910: Disable annotation inheritance for annotation types
Added
AnnotationType.getDisableInheritance()
which is a flag that if set will disable the inheritance. Schema version is updated and all existing annotation types are set to FALSE.A permission check when calling
AnnotationSet.inheritAnnotation
has been implemented and setting the flag withAnnotationType.setDisableInheritance()
will trigger a removal of existing inherited annotations.This should complete the core part of the functionality but we also need some supporting functionality (mainly in the gui).