rfellows commented on code in PR #10399:
URL: https://github.com/apache/nifi/pull/10399#discussion_r2490602594


##########
nifi-frontend/src/main/frontend/apps/nifi-registry/src/app/pages/buckets/feature/ui/add-policy-to-bucket-dialog/add-policy-to-bucket-dialog.component.html:
##########
@@ -0,0 +1,78 @@
+<!--
+~  Licensed to the Apache Software Foundation (ASF) under one or more
+~  contributor license agreements.  See the NOTICE file distributed with
+~  this work for additional information regarding copyright ownership.
+~  The ASF licenses this file to You under the Apache License, Version 2.0
+~  (the "License"); you may not use this file except in compliance with
+~  the License.  You may obtain a copy of the License at
+~
+~     http://www.apache.org/licenses/LICENSE-2.0
+~
+~  Unless required by applicable law or agreed to in writing, software
+~  distributed under the License is distributed on an "AS IS" BASIS,
+~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~  See the License for the specific language governing permissions and
+~  limitations under the License.
+-->
+
+<h2 mat-dialog-title>New Policy</h2>
+<mat-dialog-content class="dialog-content">
+    <div class="flex flex-col h-full gap-y-4">
+        <div class="listing-table select-none flex flex-1">
+            <div class="flex-1 relative">
+                <div class="absolute inset-0 overflow-y-auto 
overflow-x-hidden">
+                    <table
+                        mat-table
+                        [dataSource]="dataSource"
+                        matSort
+                        matSortDisableClear
+                        (matSortChange)="sortData($event)"
+                        [matSortActive]="sort.active"
+                        [matSortDirection]="sort.direction">
+                        <!-- Identity Column -->
+                        <ng-container matColumnDef="identity">
+                            <th mat-header-cell *matHeaderCellDef 
mat-sort-header>Identity</th>
+                            <td mat-cell *matCellDef="let row">
+                                <div class="flex items-center gap-x-2">
+                                    <i class="fa mr-2" [ngClass]="row.type === 
'group' ? 'fa-users' : ''"></i>

Review Comment:
   @scottyaslan There is no distinction in the New Policy dialog between users 
and groups. Other places show a type column so you can tell what is what, but 
not in the New Policy dialog.
   <img width="1061" height="649" alt="Screenshot 2025-11-04 at 08 50 20" 
src="https://github.com/user-attachments/assets/61188b0d-84b3-4cb1-a75d-0eb1decb33d6";
 />
   
   I'd suggest wither adding the type column there as well or putting the icon 
in for groups.
   



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