Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I always need to reload the page to get correct permission #31

Open
senzacionale opened this issue Mar 16, 2018 · 2 comments
Open

I always need to reload the page to get correct permission #31

senzacionale opened this issue Mar 16, 2018 · 2 comments

Comments

@senzacionale
Copy link

I have small problem. In UI I use your code for permissions and I always need to reload page to get correct permission.

I set
AclService.setAbilities(aclData);

and in angularJS UI I am checking this permission
ng-show="can('VolumeChanges/All/VolumeHistory/Show')"

but works only when I refresh page?

Did I miss something?

@mikemclin
Copy link
Owner

Can you give me an example of when it is not working? Give me an example flow of when it works, and what the user does on the page, and then when it stops working requiring a page refresh.

@bigdhri
Copy link

bigdhri commented Sep 19, 2018

I am encountering an issue as well with abilities, I can set them but can't seem to unset them. The only way I am seeing it unset is if I refresh the page. I added a role, then added abilities to that role. I log in with a different user, different roles, but the ability remains. I even tried flushing storage, and still the ability hangs around. Has anyone else encountered this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants