mcgilman commented on code in PR #8225:
URL: https://github.com/apache/nifi/pull/8225#discussion_r1450476215


##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/pages/flow-designer/ui/canvas/header/header.component.html:
##########
@@ -131,7 +131,15 @@
                         <i class="fa fa-fw fa-users mr-2"></i>
                         Users
                     </button>
-                    <button mat-menu-item class="global-menu-item">
+                    <button
+                        mat-menu-item
+                        class="global-menu-item"
+                        [routerLink]="['/access-policies', 'global']"
+                        [disabled]="
+                            !user.tenantsPermissions.canRead ||
+                            !user.policiesPermissions.canRead ||
+                            !user.policiesPermissions.canWrite
+                        ">

Review Comment:
   Good catch. This was an oversight.



-- 
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