Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

OCIS Permissions - Failed to edit user #7533

Closed

Description

@T0mWz

When I have a user without an email address and you try to assign a role or a quota, you get a message Failed to edit user. Maybe an extra hint that a valid emailaddress is required can be useful, now I discover the issue by checking the browser console.

Steps to reproduce

  1. Add a user without an email address
  2. Try to assign a role or some quota

Expected behaviour

Littlebit more information why it is valid. 😉

Actual behaviour

Screenshot 2022-08-26 at 15 52 19

{"error":{"code":"invalidRequest","innererror":{"date":"2022-08-26T13:38:52Z","request-id":"25f743a2-9467-4e8d-9f84-0cde080387de"},"message":"' ' is not a valid email address"}}

Environment general

  • IdP: KeyCloak
  • user storage; LDAP

Environment ownCloud OCIS

  • ownCloud Web UI 5.7.0-rc.10
  • Infinite Scale 2.0.0-beta.7 Community

Activity

  1. AlexAndBear commented on Aug 29, 2022

    @AlexAndBear
    Contributor

    PR #7538
    will take care that only the respective endpoints will be called if changes happen for either: user base data, quota, or role.

    Anyways, we don't want to allow changes to the user base data (displayName, mail, password) if an external IDP is involved, therefore we plan to make those fields read-only

  2. T0mWz commented on Aug 29, 2022

    @T0mWz
    Author

    Maybe nice if a link can be configured / shown here , that a user know where this information can be adjusted.

  3. AlexAndBear commented on Aug 29, 2022

    @AlexAndBear
    Contributor

    good idea,
    FYI @tbsbdr @kulmann

  4. added
    Type:Bug
    Priority:p2-high
    on Aug 29, 2022
  5. self-assigned this
    on Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority:p2-highType:Bug

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions