Skip to content

Inviter's can't change inviters end date #814

Description

@phavekes

If an inviter is also the guest of a role (guest role included), the UI offers to change his own role's end-date. But this is not allowed. The ui does not provide feedback on the failing API call (HTTP403), and the server logs:

Sep 8 13:29:18 XXXXXXXXXXXXXXXXXXX.surfconext.nl inviteserver[761]: 2026-09-08 13:29:18,650 ERROR [http-nio-8080-exec-5] invite.api.DefaultErrorController:72 - Error occurred; invite.exception.UserRestrictionException: Invalid invation by XXXXXXXXXXX@XXXXX.nl for roles XXXXXXXXXXXXXXXXXX

  • For inviters: Do not show the option to change the enddate of a role if the user is also an inviter
  • Inform the user if changing the enddate of a role returns an error. Generate a reference code, log it and show it to the user

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions