ich found an unexpected behavior of the methods Session.checkPermission() and Session.hasPermission().
CheckPermission throws an AccessControlException although the correct permission is set. Session.hasPermission() results in a ‘correct’ return value with “true”.
I attached an JUnit-Test (with a repository.xml), perhaps someone can verify this as a bug … or do I perhaps something wrong?
Thanks in advance,