Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-casa-user-data-service
Commits
adba9e48
Commit
adba9e48
authored
2 years ago
by
tushar5526
Browse files
Options
Download
Patches
Plain Diff
fix: add users to USER roles in keycloak
parent
bc2c76d3
main
getStudentByRollnumber
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app.service.ts
+1
-0
src/app.service.ts
with
1 addition
and
0 deletions
+1
-0
src/app.service.ts
+
1
−
0
View file @
adba9e48
...
...
@@ -52,6 +52,7 @@ export class AppService {
const
nelement
=
Object
.
fromEntries
(
Object
.
entries
(
element
).
map
(([
k
,
v
])
=>
[
lowerCase
(
k
),
v
]),
);
nelement
.
roles
=
[
'
USER
'
];
nres
.
push
(
nelement
);
});
return
nres
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Explore
Projects
Groups
Topics
Snippets