Admin UI new roles missing from select list

Hi, I’m using SS 8.8, Postgres and aspnetidentity, when adding a new role it doesn’t appear in the New Role drop down when using the admin-ui feature

And here you see the roles

Where does the select list get the options from?

Thanks

The list of roles are statically populated by references to the Roles in your codebase, e.g. by use of the [ValidateHasRole], [RequiredRole], [RequiresAnyRole], etc.

Thanks for that, it’s a bit counterintuitive given that you can add the roles and then need too do a release in order for it to appear.

You mean restart your App after it makes use of the role? But yeah the list of App Roles (i.e. Roles used by your App) is statically calculated on Startup without being dependent on external network requests.

1 Like