This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
41
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Merge requests
!194
Merge Master Bugfix back to Development
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Merge Master Bugfix back to Development
master
into
development
Overview
0
Commits
17
Pipelines
0
Changes
13
Merged
Michael Breu
requested to merge
master
into
development
1 year ago
Overview
0
Commits
17
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
ea4223eb
Prev
Next
Show latest version
1 file
+
5
−
6
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ea4223eb
fix pmd
· ea4223eb
Cont Deploy
authored
1 year ago
src/main/java/at/ac/uibk/gitsearch/service/AuthorityService.java
+
5
−
6
Options
@@ -17,15 +17,14 @@ public class AuthorityService {
private
final
AuthorityRepository
authorityRepository
;
private
final
UserRepository
userRepository
;
public
AuthorityService
(
UserRepository
userRepository
,
AuthorityRepository
authorityRepository
)
{
this
.
userRepository
=
userRepository
;
public
AuthorityService
(
AuthorityRepository
authorityRepository
)
{
this
.
authorityRepository
=
authorityRepository
;
}
// Get all users with authority ROLE_REVIEW_MANAGER
List
<
User
>
findAllUsersWithAuthority
(
String
authority
)
{
return
authorityRepository
.
findAllUsersWithAuthority
(
authority
);
log
.
info
(
"Finding all users with authority: {}"
,
authority
);
List
<
User
>
users
=
authorityRepository
.
findAllUsersWithAuthority
(
authority
);
log
.
info
(
"Found {} users with authority: {}"
,
users
.
size
(),
authority
);
return
users
;
}
}