mneethiraj commented on code in PR #1327:
URL: https://github.com/apache/ranger/pull/1327#discussion_r4360343451


##########
agents-common/src/main/java/org/apache/ranger/plugin/model/validation/RangerServiceDefValidator.java:
##########
@@ -50,7 +52,8 @@
 public class RangerServiceDefValidator extends RangerValidator {
     private static final Logger LOG = 
LoggerFactory.getLogger(RangerServiceDefValidator.class);
 
-    private static final Set<String> VALID_CONFIG_TYPES = 
ImmutableSet.of("bool", "enum", "int", "string", "password", "path");
+    private static final Set<String> VALID_CONFIG_TYPES           = 
ImmutableSet.of("bool", "enum", "int", "string", "password", "path");
+    private static final Set<String> VALID_CONSTRAINT_PARAM_TYPES = 
ImmutableSet.of("string", "int", "bool", "enum", "user", "group", "role");

Review Comment:
   Is support for user/group/role a requirement? If yes, does UI and backend 
validate the value? I suggest keeping it simple to start with.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to