Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
21.78k stars 1.49k forks source link

[BUDI-7710] User groups do not fully support custom roles #12220

Open melohagan opened 10 months ago

melohagan commented 10 months ago

Checklist

Hosting

Describe the bug When assigning a custom role to a user group, users of that group do not have access to any screens until you explicitly specify a user level role.

To Reproduce Steps to reproduce the behavior:

  1. Create a user group
  2. Assign a user to that group
  3. Create an app, and create a custom role
  4. Assign the custom role to the user group
  5. Try to log in as a member of the group: you will see the message 'You do not have access'
  6. Directly assign the custom role to the user: you will now have the expected screen permissions.

Expected behavior User groups should support custom roles.

Screenshots

Screenshot 2023-10-30 at 16 18 21

Bert is a member of the Ops Managers group.

Screenshot 2023-10-30 at 16 19 17

Bert correctly appears to have the custom 'Power Plus' role.

Screenshot 2023-10-30 at 16 19 53

But receives this message, and has no access.

Screenshot 2023-10-30 at 16 21 15

If I directly assign Bert to the 'Power Plus' role.

Screenshot 2023-10-30 at 16 22 10

He now has access.

BUDI-7710

ConorWebb96 commented 8 months ago

Some additional screenshots of this issue replicated.

Screenshot 2024-01-10 at 14 36 09 Screenshot 2024-01-10 at 14 36 19 Screenshot 2024-01-10 at 14 36 31
mike12345567 commented 5 months ago

Fixed in: https://github.com/Budibase/budibase/pull/13191

ConorWebb96 commented 1 month ago

Re-opening as this issue seems to be happening again.