0
derekmcclure created
Hello,
Currently if a user edits their own permissions, the abp.auth.hasPermission client side function will return the original result. It seems the permissions are cached. Is there a way to force a cache refresh?
Thanks,
Derek McClure
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Permissions are loaded once at start from script as object(abp.auth.grantedPermissions). To refresh permissions reload this script with them (and some other additional data) with the help of, for example jQuery's method:
$.getScript("AbpScripts/GetScripts")Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)