Repository: nifi-registry
Updated Branches:
  refs/heads/master b008137d8 -> bbcd6554b


NIFIREG-78 - Disable new policy option when registry is unsecured

This closes #78.

Signed-off-by: Bryan Bende <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/nifi-registry/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-registry/commit/bbcd6554
Tree: http://git-wip-us.apache.org/repos/asf/nifi-registry/tree/bbcd6554
Diff: http://git-wip-us.apache.org/repos/asf/nifi-registry/diff/bbcd6554

Branch: refs/heads/master
Commit: bbcd6554b3f8b0aa168f1c06ba23b9646a4c7f39
Parents: b008137
Author: Scott Aslan <[email protected]>
Authored: Mon Jan 8 15:46:28 2018 -0500
Committer: Bryan Bende <[email protected]>
Committed: Wed Jan 10 14:43:36 2018 -0500

----------------------------------------------------------------------
 .../workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi-registry/blob/bbcd6554/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
----------------------------------------------------------------------
diff --git 
a/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
 
b/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
index f23b4da..9f48951 100644
--- 
a/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
+++ 
b/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/sidenav/manage-bucket/nf-registry-manage-bucket.html
@@ -44,7 +44,7 @@ limitations under the License.
             <div flex fxLayout="row" fxLayoutAlign="space-between center">
                 <span class="md-card-title">Policies 
({{userIdentitiesWithPolicies.length + 
groupIdentitiesWithPolicies.length}})</span>
                 <button color="fds-secondary"
-                        
[disabled]="!nfRegistryService.currentUser.resourcePermissions.policies.canWrite"
+                        [disabled]="nfRegistryService.currentUser.anonymous || 
!nfRegistryService.currentUser.resourcePermissions.policies.canWrite"
                         mat-raised-button
                         (click)="addPolicy()">
                     New Policy

Reply via email to