nens / servicedesk-issue-only

This repository will be used primarily by the service desk to report issues which will then be moved by the teamleads
0 stars 0 forks source link

[3Di]: Cannot create user with just viewer rights (production) #162

Open GeOdin opened 1 year ago

GeOdin commented 1 year ago

Contact Details

No response

Topdesk URL (API)

https://nelen-schuurmans.topdesk.net/tas/secure/contained/incident?unid=c2a5dacf-e841-4560-a6ae-d5e7a255cd05

Incident Type

Error

What priority should we assign to this submission?

Prio2 Urgent

3Di component

Livesite

What happened?

When I went to create a user with just viewer rights, I got an error that I should give up at least one right. This happens when I don't have the viewer selected, and when I only select the viewer right when adding a user via the management screens.

How to Reproduce?

Go to https://api.3di.live/management/users The management page for your organisation opens when you are manager for that organisation (manager rights) Press NEW USER (top right) Enter the user email and select V for viewer. Press SAVE.

You get the message in red At least one role must be selected. (above the SAVE button) and the viewer role is deselected.

The same result happens when you do not select any role and press save.

What did you expect and what was the actual result?

I expected that if there is a viewer role, it would be possible to create a user with only a viewer role.

Add screenshots, video's etc

Create user with just viewer role

20230516 - productie - 3Di only viewer 0

Result

20230516 - productie - 3Di only viewer 1

Same result also happens when you try to create a user without role

20230516 - productie - 3Di only viewer 2

Relevant log output

No response

Additional info

Good luck! :)