-
Notifications
You must be signed in to change notification settings - Fork 12
How could i define CAS and Application roles? #36
Comments
@shahmanash - any idea? I can't say anything on this off the top of my head. Should we ask on the channel, see if someone somewhere else in the community has some info? Or do we need to dive into the groovy code for these answers? I haven't seen any docs for it but on the other hand I probably haven't looked in the right places... The living atlases community coordinator might know? Personally, I am interested in understanding how to integrate an external component with the CAS to get the auth. Looking for something like a best practice outline or short tutorial. I provided this as feedback to the Paris workshop survey. |
The workflow is , when a normal user registers himself or herself using userdetails app, he/she has the default role ROLE_USER. If he/she need to be assigned other role, the admin user can do so from the userdetails app. On the landing page of userdetails app, there is a link Admin tools (BioAtlas administrators only) which would lead to https://auth.bioatlas.se/userdetails/admin , where you can manage user roles. One thing that need to be done manually, is create the first System Admin user , who can actually do all the Admin tasks. To do so, you would need to assign the role manually in the database to that user. |
Ok, An user with role ROLE_SYSTEM_ADMIN is already set ( and another one with ROLE_ADMIN). Once i did log into the CAS and clicked on the Admin tools (BioAtlas administrators only) im being redirected to https://cas.ala-hml.vertigo.com.br/userdetails/admin?ticket=ST-4-imDbbgvxZqAUohXBbAyO-cas.ala-hml.vertigo.com.br .Userdetails container shows me the log:
and
|
Fixed, it was a little missconfiguration in the userdetails properties and te association with the right roles into the DB. Ty, gentlemen. |
THere is a way to register an user in the userdetails with role association?
The text was updated successfully, but these errors were encountered: