hydra-head
hydra-head copied to clipboard
Roles may be returning registered for guest users
Should we add a check for guest: false
Only a problem if you're using devise_guest_users
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.
Here's how it's solved in hydra-role-management https://github.com/projecthydra/hydra-role-management/commit/5e28251f9fb1a7997da9980ebd4327c9bb2dcc3c
This still a problem @jcoyne?
@terrellt I don't know. It's been such a long time since I looked.