MultiPortal Community Return to multiportal.io
Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Support Portal
Collapse
  1. Home
  2. Users & Permissions
  3. Suspected Bug: Role Not Applied When Assigned at User Creation

Suspected Bug: Role Not Applied When Assigned at User Creation

Scheduled Pinned Locked Moved Users & Permissions
1 Posts 1 Posters 42 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ranjina.vazhayil
    Private Beta Migrator
    wrote last edited by
    #1

    Environment

    • MultiPortal Version: 1,2.0
    • Proxmox VE Version: 9.2
    • Deployment Type: HA Cluster]
    • Browser (if UI issue): Edge

    Description
    When creating a new user and assigning a role at creation, the role is not applied. The user is created successfully with no error shown, but the role field is blank in the users list. The failure only surfaces later when the account is used.

    Editing the same user afterwards and assigning the role works correctly.

    This may share a root cause with the existing thread “Suspected Bug: User Permissions Not Updated After Role Changes” — that one describes create working and later role changes not propagating; this is the inverse on the create path.

    Steps to Reproduce (if applicable)

    1. Create a new user and select the Service Provider Administrator role.
    2. Save. User is created, no error displayed.
    3. Users list shows the role field blank.
    4. Impersonate the user - Forbidden (#403).
    5. Edit the same user, assign Service Provider Administrator, save.
    6. Role now applies correctly and impersonation works

    Expected Behavior
    The role selected at creation is persisted and applied to the user. If it cannot be applied, an error is surfaced at creation rather than the user being created in a broken state.

    Actual Behavior
    The role is silently dropped. The user is created without permissions and no error is shown. The only signal is a 403 at point of use.

    Logs/Screenshots
    [39a43383-7712-4277-a140-b8caa926472d-image.jpeg ]

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    Powered by NodeBB Contributors
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Support Portal