Skip to content

Commit

Permalink
fix(config-api): user password patch fix (#10396)
Browse files Browse the repository at this point in the history
* fix(config-api): missing scope in spec

Signed-off-by: pujavs <pujas.works@gmail.com>

* fix(config-api): missing scope in spec

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(Config-api): sync with main

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(config-api): server app status

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(config-api): server app status

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(config-api): agama repo endpoin -wip

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(config-api): sync with main

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(config-api): agama rep endpoint

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(config-api): agama endpoint wip

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(config-api): implemenetd agama repo endpoint and fixed user pwd validation for patch

Signed-off-by: pujavs <pujas.works@gmail.com>

* feat(config-api): implemenetd agama repo endpoint and fixed user pwd validation for patch

Signed-off-by: pujavs <pujas.works@gmail.com>

* fix(Config-api): user password patch fix

Signed-off-by: pujavs <pujas.works@gmail.com>

---------

Signed-off-by: pujavs <pujas.works@gmail.com>
  • Loading branch information
pujavs authored Dec 11, 2024
1 parent c99a71a commit 0345f11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions jans-config-api/docs/jans-config-api-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9303,20 +9303,20 @@ components:
type: string
selected:
type: boolean
whitePagesCanView:
type: boolean
adminCanEdit:
type: boolean
userCanView:
type: boolean
adminCanView:
type: boolean
userCanEdit:
type: boolean
adminCanView:
type: boolean
userCanAccess:
type: boolean
adminCanAccess:
type: boolean
whitePagesCanView:
type: boolean
baseDn:
type: string
PatchRequest:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ private User updateCustomAttributes(User user, List<CustomObjectAttribute> custo
}

//validate custom attribute validation
validateAttributes(user.getCustomAttributes());
validateAttributes(customAttributes);

for (CustomObjectAttribute attribute : customAttributes) {
CustomObjectAttribute existingAttribute = userService.getCustomAttribute(user, attribute.getName());
Expand Down

0 comments on commit 0345f11

Please sign in to comment.