You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2022/04/08 20:42:56 UTC

[directory-fortress-commander] 01/05: was always outputting perm not found message

This is an automated email from the ASF dual-hosted git repository.

smckinney pushed a commit to branch wicket9
in repository https://gitbox.apache.org/repos/asf/directory-fortress-commander.git

commit 384022f885963dc3eaf258f96155ab3ab23830de
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Fri Apr 8 13:43:45 2022 -0500

    was always outputting perm not found message
---
 .../directory/fortress/web/control/SecureIndicatingAjaxButton.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/directory/fortress/web/control/SecureIndicatingAjaxButton.java b/src/main/java/org/apache/directory/fortress/web/control/SecureIndicatingAjaxButton.java
index cd9d99d..990be4b 100644
--- a/src/main/java/org/apache/directory/fortress/web/control/SecureIndicatingAjaxButton.java
+++ b/src/main/java/org/apache/directory/fortress/web/control/SecureIndicatingAjaxButton.java
@@ -85,8 +85,10 @@ public class SecureIndicatingAjaxButton extends IndicatingAjaxButton
         super( id );
         LOG.debug( "load button perm objName: " + objName + " opName: " + opName);
         if ( !SecUtils.isFound( new Permission( objName, opName ), this ) )
+        {
             setVisible( false );
             LOG.info( "perm objName: " + objName + " opName: " + opName + ", not found in session");
+        }
     }
 
     protected boolean checkAccess( String objectName, String opName )