hydra-head icon indicating copy to clipboard operation
hydra-head copied to clipboard

Roles may be returning registered for guest users

Open jcoyne opened this issue 12 years ago • 5 comments

Should we add a check for guest: false

jcoyne avatar Apr 10 '13 20:04 jcoyne

Only a problem if you're using devise_guest_users

jcoyne avatar Apr 22 '13 15:04 jcoyne

If we do this, we also need to make sure it can run without devise_guest_users.

This problem is in Ability as well as RoleMapper.

jcoyne avatar Dec 20 '13 19:12 jcoyne

Here's how it's solved in hydra-role-management https://github.com/projecthydra/hydra-role-management/commit/5e28251f9fb1a7997da9980ebd4327c9bb2dcc3c

jcoyne avatar Dec 20 '13 19:12 jcoyne

This still a problem @jcoyne?

tpendragon avatar Oct 14 '15 15:10 tpendragon

@terrellt I don't know. It's been such a long time since I looked.

jcoyne avatar Oct 14 '15 20:10 jcoyne