OpenConext / OpenConext/OpenConext-Invite

Inviter's can't change inviters end date

Open
#814 1 comment 0 reactions 1 assignee View on GitHub

@oharsta is already working on this.

Since Sep 9, 2026.

ui
Dominant language
Java
Stars
6
Forks
7
Avg merge
12h 24m
Merged PRs (30d)
11

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.