Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vitamui-pr-pastis
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dad
vitamui-pr-pastis
Commits
26447150
Commit
26447150
authored
4 years ago
by
Maël AUDEON
Committed by
Delphine
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Fix TRTL-206] Fix criterions whitelist in Groups API
parent
f63034a6
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Feature/design/1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/api-iam/iam-external/src/main/java/fr/gouv/vitamui/iam/external/server/service/GroupExternalService.java
+6
-1
6 additions, 1 deletion
...mui/iam/external/server/service/GroupExternalService.java
with
6 additions
and
1 deletion
api/api-iam/iam-external/src/main/java/fr/gouv/vitamui/iam/external/server/service/GroupExternalService.java
+
6
−
1
View file @
26447150
...
...
@@ -75,6 +75,11 @@ import lombok.Setter;
@Service
public
class
GroupExternalService
extends
AbstractResourceClientService
<
GroupDto
,
GroupDto
>
{
private
static
final
String
IDENTIFIER_KEY
=
"identifier"
;
private
static
final
String
NAME_KEY
=
"name"
;
private
static
final
String
ENABLED_KEY
=
"enabled"
;
private
static
final
String
DESCRIPTION_KEY
=
"description"
;
private
final
GroupInternalRestClient
groupInternalRestClient
;
@Autowired
...
...
@@ -128,7 +133,7 @@ public class GroupExternalService extends AbstractResourceClientService<GroupDto
@Override
public
Collection
<
String
>
getAllowedKeys
()
{
return
Arrays
.
asList
(
"id"
,
"name"
,
"enabled"
,
"description"
,
LEVEL_KEY
,
CUSTOMER_ID_KEY
);
return
Arrays
.
asList
(
IDENTIFIER_KEY
,
NAME_KEY
,
ENABLED_KEY
,
DESCRIPTION_KEY
,
LEVEL_KEY
,
CUSTOMER_ID_KEY
);
}
@Override
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment