Skip to content

Commit

Permalink
core: Added additional debug logging for permission checks
Browse files Browse the repository at this point in the history
  • Loading branch information
cederberg committed Nov 11, 2023
1 parent 7ceab5a commit c674861
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java/org/rapidcontext/core/type/Role.java
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ public boolean hasUser(User user) {
* false otherwise
*/
public boolean hasAccess(String path, String permission) {
LOG.fine(this + ": " + permission + " permission check for " + path);
for (Object o : dict.getArray(KEY_ACCESS)) {
Dict dict = (Dict) o;
if (matchPath(dict, path)) {
Expand Down

0 comments on commit c674861

Please sign in to comment.