NXCALS-3488 Variable lists
#Merge request template @acc-logging-team - please have a look for approval.
domain:
-
Visibilityis an enum that allows us to hide objects from users:
-
Publicis querable for all -
Protectedis querable by the owner -
Privateis not querable.
-
Groupnow has visibility property, as well as creation time (as required by backport-api)
server-side:
-
GroupServicethis handles all the CRUD for Groups, but it does not manage visibility, accessibility etc. -
SecureGroupServicethis is a decorator overGroupServicethat encapsulates all of the simple security logic we are required to have. It's easy to detach once we have a more robust user/credentials/permissions management. Feel free to suggest a better name! -
GroupControllernow only uses the Secure version of the service.
client-side:
-
GroupServiceCRUD methods now made public.
backport-api:
-
Group->VariableListconversions - implemented
getVariableListWithName - implemented
getVariableListsOfUserWithNameLikeAndDescLike - implemented
getVariablesOfDataTypeWithNameLikePatternInVariableList - implemented
getVariablesOfDataTypeInVariableList
Closes NXCALS-3488
Edited by Kamil Krzysztof Krynicki