Skip to content

Commit 7c025d1

Browse files
committed
use all authorities
1 parent 0fd7ffc commit 7c025d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest-api/src/main/java/life/qbic/data_download/rest/security/QBiCTokenAuthentication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public QBiCTokenAuthentication(QBiCUserDetails principal) {
2020

2121
@Override
2222
public Collection<? extends GrantedAuthority> getAuthorities() {
23-
return List.of();
23+
return principal.getAuthorities();
2424
}
2525

2626
@Override

0 commit comments

Comments
 (0)