Skip to content

Not able to add roles to users in privileges view #1513

@timo0

Description

@timo0

I'm logged in as owner and I'm trying to add other users in the privileges view. After I select the user in the textfield nothing happens and the user isn'd added to the role.

I don't see any error on the server log. But in the browser console the following error is shown:

Failed to load resource: the server responded with a status of 500 (HTTP/2.0 500)
Error: HTTP/2.0 500
(anonymous function) — admin.js:59634
emit — admin.js:14495
onreadystatechange — admin.js:59768
Unhandled Promise Rejection: Error: HTTP/2.0 500�

My current workaround is to edit the object in forums manually and add a entry for the permissions array.

{
    "user": ObjectId("foo"),
    "role" : "admin"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions