[ https://issues.apache.org/jira/browse/NIFI-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477843#comment-16477843 ]
ASF GitHub Bot commented on NIFI-2966: -------------------------------------- GitHub user andrewmlim opened a pull request: https://github.com/apache/nifi/pull/2710 NIFI-2966 Add policy resources to Access Policies tables in Admin Guide You can merge this pull request into a Git repository by running: $ git pull https://github.com/andrewmlim/nifi NIFI-2966 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi/pull/2710.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2710 ---- commit 7e68b74e92d1d63c27663c38236b299ebaba0975 Author: Andrew Lim <andrewlim.apache@...> Date: 2018-05-16T18:13:45Z NIFI-2966 Add policy resources to Access Policies tables in Admin Guide ---- > Add policy resource descriptors to Admin Guide listing of policies > ------------------------------------------------------------------ > > Key: NIFI-2966 > URL: https://issues.apache.org/jira/browse/NIFI-2966 > Project: Apache NiFi > Issue Type: Improvement > Components: Documentation & Website > Affects Versions: 1.0.0 > Reporter: Andy LoPresto > Assignee: Andrew Lim > Priority: Minor > Labels: authorization, beginner, documentation, policy > Original Estimate: 1h > Remaining Estimate: 1h > > While ideally a user/admin would never have to examine the > {{$NIFI_HOME/conf/users.xml}} or {{$NIFI_HOME/conf/authorizations.xml}} > files, in my development and debugging, I have had to on more than one > occasion. It would be helpful to list the actual policy resource descriptor > (e.g. {{/provenance}}, {{/flow}}, {{/tenants}}) in the table in the [Admin > Guide|https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#global-access-policies] > listing these policies. When the provenance policy was missing for both of > my defined users, I could not add it through the UI, so I had to manually > edit the {{authorizations.xml}} file, but I did not know the resource > descriptor a priori, so I had to search the code base for it. > I envision simply adding an additional column to the table and adding the > descriptor, including a placeholder if necessary (e.g. > {{/data/process-groups/}}_root-process-group-id_). -- This message was sent by Atlassian JIRA (v7.6.3#76005)