Hi,
We have an interesting problem in <PROJECT_NAME>. We register modules through moduleRegistry.addModule and this works just fine. The admin user sees all modules as it should be. We have two modules/appmodels that have a permission set. This permission is admin. As I said on the initial load of the application every module is displayed correctly but as soon as the silent_renew gets called both modules with the permissions set vanish despite the user having the correct permissions to view them.
Has anybody experienced the same behaviour and has a fix for it?
Thanks in advance,
Nick
Hi @nick-linked-tensor ,
Can you upgrade the UAA version to 8.1.1 and try again to check whether the bug still exists?
Thanks,
Luc
Hi @nick-linked-tensor,
has your problem been solved or do you need further support? If it is solved, please, use the checkbox to mark the solution to your problem so that other users also know what helped in your case.
Thanks in advance!
Denise from the Discourse team
With the help of @alexander-async-gorge we noticed, that we were missing an important saga implementation:
export function* setRolesForUserAfterTokenRefresh(): SagaIterator {
yield* takeLatest(UaaActions.oidc_user_expiring, handle);
function* handle(): SagaIterator {
const user = yield* select(UaaSelectors.user);
if (isUaaOidcUser(user)) {
yield* put(UaaActions.modifyingOidcUser(user));
}
}
}
Since I implemented this saga in our <PROJECT_NAME> code the problem was no longer reported.