File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,6 @@ test-harness/logs/**
11
11
test-harness /modules /**
12
12
13
13
# log files
14
- logs /**
14
+ logs /**
15
+
16
+ modules /**
Original file line number Diff line number Diff line change @@ -759,10 +759,7 @@ component accessors="true" singleton {
759
759
results .allow = (
760
760
tokenHasScopes ( arguments .permissions , payload .scope )
761
761
||
762
- variables .cbSecurity
763
- .getAuthService ()
764
- .getUser ()
765
- .hasPermission ( arguments .permissions )
762
+ variables .cbSecurity .has ( arguments .permissions )
766
763
);
767
764
results .type = " authorization" ;
768
765
} else {
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ component singleton {
57
57
if ( variables .cbSecurity .getAuthService ().isLoggedIn () ) {
58
58
// Do we have any permissions?
59
59
if ( listLen ( arguments .permissions ) ) {
60
- results .allow = variables .cbSecurity .getAuthService (). getUser (). hasPermission ( arguments .permissions );
60
+ results .allow = variables .cbSecurity .has ( arguments .permissions );
61
61
results .type = " authorization" ;
62
62
} else {
63
63
// We are satisfied!
You can’t perform that action at this time.
0 commit comments