Not possible to assign roles to users #4961

Closed
opened 2026-02-05 09:29:35 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @benjaminbittner-ba on GitHub (Sep 25, 2024).

Describe the Bug

It is not possible to assign roles to users.

Steps to Reproduce

  1. Go to any user
  2. assing role
  3. save the change
  4. -> not saved
  5. it is also not logged in the Audit-Logs

Expected Behaviour

Roles should be saved and changes should be logged.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v24.05.2

Originally created by @benjaminbittner-ba on GitHub (Sep 25, 2024). ### Describe the Bug It is not possible to assign roles to users. ### Steps to Reproduce 1. Go to any user 2. assing role 3. save the change 4. -> not saved 5. it is also not logged in the Audit-Logs ### Expected Behaviour Roles should be saved and changes should be logged. ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version v24.05.2
OVERLORD added the 🐛 Bug label 2026-02-05 09:29:35 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Sep 25, 2024):

Hi @benjaminbittner-ba,

  • Are other user profile settings changes saved/reflected after save/submit?
  • How are you running BookStack? What kind of installation process did you follow?
@ssddanbrown commented on GitHub (Sep 25, 2024): Hi @benjaminbittner-ba, - Are other user profile settings changes saved/reflected after save/submit? - How are you running BookStack? What kind of installation process did you follow?
Author
Owner

@benjaminbittner-ba commented on GitHub (Sep 25, 2024):

Hello @ssddanbrown

  • Bookstack was freshly installed 2 years ago via installation script on an ubuntu vm. Only bookstack is running on this vm.
  • No changes in user settings are saved currently: Name, Profile Pic, Roles, etc
@benjaminbittner-ba commented on GitHub (Sep 25, 2024): Hello @ssddanbrown - Bookstack was freshly installed 2 years ago via installation script on an ubuntu vm. Only bookstack is running on this vm. - No changes in user settings are saved currently: Name, Profile Pic, Roles, etc
Author
Owner

@ssddanbrown commented on GitHub (Sep 25, 2024):

@benjaminbittner-ba thanks for confirming.

  • Does saving a role work okay?
  • After saving a user, are you returned to the form or the user list?
  • Do any inputs have red text after saving?
    • Specifically check the password fields. Have heard previous reports of user's browser autofill attempting to auto-fill the password field, which then means the submit does not validate since the password confirmation field does not match.
@ssddanbrown commented on GitHub (Sep 25, 2024): @benjaminbittner-ba thanks for confirming. - Does saving a role work okay? - After saving a user, are you returned to the form or the user list? - Do any inputs have red text after saving? - Specifically check the password fields. Have heard previous reports of user's browser autofill attempting to auto-fill the password field, which then means the submit does not validate since the password confirmation field does not match.
Author
Owner

@benjaminbittner-ba commented on GitHub (Sep 25, 2024):

@ssddanbrown thanks your quick assistance, without your hints we wouldn't have found the error. It was indeed a rouge space in the password field...

@benjaminbittner-ba commented on GitHub (Sep 25, 2024): @ssddanbrown thanks your quick assistance, without your hints we wouldn't have found the error. It was indeed a rouge space in the password field...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4961