alopresto commented on a change in pull request #3637: NIFI-6400 Better
options, consistent ids for ShellUserGroupProvider.
URL: https://github.com/apache/nifi/pull/3637#discussion_r324835308
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/authorizers.xml
##########
@@ -171,14 +171,15 @@
on systems that support `sh`. Implementations available for Linux and
Mac OS, and are selected by the
provider based on the system property `os.name`.
- 'Initial Refresh Delay' - duration to wait before first refresh.
Default is '5 mins'.
'Refresh Delay' - duration to wait between subsequent refreshes.
Default is '5 mins'.
+ 'Exclude Groups' - regular expression used to exclude groups. Default
is '', which means no groups are excluded.
+ 'Exclude Users' - regular expression used to exclude users. Default
is '', which means no users are excluded.
-->
<!-- To enable the shell-user-group-provider remove 2 lines. This is 1 of
2.
<userGroupProvider>
<identifier>shell-user-group-provider</identifier>
<class>org.apache.nifi.authorization.ShellUserGroupProvider</class>
- <property name="Initial Refresh Delay">5 mins</property>
+ <property name="Exclude Users">^s.*</property>
Review comment:
I am +1 on the empty string `''` as a default value.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services