Skip to content

[NAE-1617] Authority refactor - #477

Draft
renczesstefan wants to merge 9 commits into
release/7.0.0from
NAE-1617_v7
Draft

renczesstefan wants to merge 9 commits into
release/7.0.0from
NAE-1617_v7

Remove `@Authorize` annotations from methods across multiple services…

e044e16
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Sep 21, 2026 in 1m 32s

Quality Gate failed

Annotations

Check warning on line 46 in nae-object-library/src/main/java/com/netgrif/application/engine/objects/auth/constants/AuthorizingObject.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=netgrif_application-engine&issues=AaDDv9qaBzpILJi2jd_y&open=AaDDv9qaBzpILJi2jd_y&pullRequest=477

Check warning on line 70 in nae-user-common/src/main/java/com/netgrif/application/engine/auth/service/AuthorityService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"@Cacheable" annotation should only be applied to concrete classes.

See more on https://sonarcloud.io/project/issues?id=netgrif_application-engine&issues=AaDDv9r3BzpILJi2jd_z&open=AaDDv9r3BzpILJi2jd_z&pullRequest=477

Check warning on line 76 in nae-user-common/src/main/java/com/netgrif/application/engine/auth/service/AuthorityService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"@Cacheable" annotation should only be applied to concrete classes.

See more on https://sonarcloud.io/project/issues?id=netgrif_application-engine&issues=AaDDv9r3BzpILJi2jd_1&open=AaDDv9r3BzpILJi2jd_1&pullRequest=477

Check warning on line 8 in application-engine/src/main/java/com/netgrif/application/engine/petrinet/service/ProcessRoleService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'com.netgrif.application.engine.objects.annotations.Authorize'.

See more on https://sonarcloud.io/project/issues?id=netgrif_application-engine&issues=AaDDv9hVBzpILJi2jd_x&open=AaDDv9hVBzpILJi2jd_x&pullRequest=477

Check warning on line 73 in nae-user-common/src/main/java/com/netgrif/application/engine/auth/service/AuthorityService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"@Cacheable" annotation should only be applied to concrete classes.

See more on https://sonarcloud.io/project/issues?id=netgrif_application-engine&issues=AaDDv9r3BzpILJi2jd_0&open=AaDDv9r3BzpILJi2jd_0&pullRequest=477