-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create element metadata security #8559
Conversation
Signed-off-by: Mandy Chessell <mandy.e.chessell@gmail.com>
effectiveTime, | ||
methodName); | ||
genericHandler.validateEntityAndAnchorForRead(serverUserId, | ||
entityProxy.getGUID(), |
Check warning
Code scanning / CodeQL
Dereferenced variable may be null Warning
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
Variable
entityProxy
this
@@ -61,7 +61,8 @@ | |||
* | |||
* @return subclass of InstancePropertyValue | |||
*/ | |||
public InstancePropertyValue cloneFromSubclass() { | |||
public InstancePropertyValue cloneFromSubclass() |
Check notice
Code scanning / CodeQL
Missing Override annotation Note
InstancePropertyValue.cloneFromSubclass
* @param instance instance details | ||
* @return flag indicating whether the reference copy should be saved | ||
*/ | ||
public boolean validateEntityReferenceCopySave(EntityDetail instance) | ||
public boolean validateEntityReferenceCopySave(String userId, EntityDetail instance) |
Check notice
Code scanning / CodeQL
Missing Override annotation Note
OpenMetadataRepositorySecurity.validateEntityReferenceCopySave
* @param instance instance details | ||
* @return flag indicating whether the reference copy should be saved | ||
*/ | ||
public boolean validateRelationshipReferenceCopySave(Relationship instance) | ||
public boolean validateRelationshipReferenceCopySave(String userId, Relationship instance) |
Check notice
Code scanning / CodeQL
Missing Override annotation Note
Description
This PR updates the generic handlers and metadata security module to create a data-oriented security authorization capability centered around all metadata element. It replaces the three specialist interfaces for Asset, Glossary and Connection.
At this time the new framework is in place but not activated in the default servers.
Testing
The updates of the generic handlers to call the new framework also includes some performance enhancements. The testing has focus on regresion testing to ensure nothing has broken rather than exercising the new function
Release Notes & Documentation
The new framework needs to be added to https://egeria-project.org/features/metadata-security/overview/
Additional notes