fief-dev / fief

Users and authentication management SaaS
https://www.fief.dev
Other
538 stars 44 forks source link

Permission from roles are not applied to users with role #154

Closed filipagh closed 1 year ago

filipagh commented 1 year ago

Describe the bug

user with role with some permission does not pass authentication which request that permission

A clear and concise description of what the bug is. we can create roles and add permissions to it then we can add role to user

so we expect that user has that permissions

To Reproduce

Steps to reproduce the behavior:

  1. have role with permission , and assign that role to user image image

  2. Click on user permissions you will see no permissions image

  3. try authentication with permission -> result in forbidden

BUT

  1. add permission to user explicitly image
  2. auth now pass

Expected behavior

add permission from roles to users with its roles

Configuration

Additional context

Add any other context about the problem here. no

frankie567 commented 1 year ago

Yes, normally it works ; but I've started to see errors popping on our cloud hosting ; which causes this side effect. I'm on it!

frankie567 commented 1 year ago

Shall be fixed with latest release! (deployed on Fief Cloud)

Thank you for the report 🙏