Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribut role als Auswahlliste machen #154

Open
xwolfde opened this issue Mar 3, 2025 · 2 comments
Open

Attribut role als Auswahlliste machen #154

xwolfde opened this issue Mar 3, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@xwolfde
Copy link
Member

xwolfde commented Mar 3, 2025

Derzeit ist role ein Textstring. Da aber die functions definiert sind, sollte man hier eine Auswahlliste anbieten.

Die function kann derzeit folgende Default-Werte enthalten:

administrative_employee
assistentprofessor
campo_administrator
custom
custom_public
deputy
doctoratecandidate_without_contract
employee
guestlecturer
guestresearcher
honorary_professor
idm_coordinator
it_support_staff
junior_professor
leader
professor
researchassistant
retired_professor
scholarshipholder
scientific_employee
secretary
studentemployee
technical_employee
trainee
visitinglecturer
workplace_manager

Bei jeder Instanz wird aber neben "function" auch "functionLabel" mit den Übersetzungen geliefert, also z.B. für scientific_employee:

functionLabel: { "de" : "Wissenschaftliche Mitarbeitende", "en" : "Research associates" }

Die beiden Rollen "custom" und "custom_public" sind benutzerdefinierte Rollen. Ein Beispiel von unserem CISO:

{ ..., "function" : "custom", "functionLabel" : { "de" : "CISO", "en" : "CISO" }, ... }

#97

@xwolfde xwolfde added the enhancement New feature or request label Mar 3, 2025
@xwolfde xwolfde added this to the V2.2 - Finetuning II milestone Mar 3, 2025
@xwolfde
Copy link
Member Author

xwolfde commented Mar 4, 2025

ggf auf V2.3 verschieben?

@xwolfde
Copy link
Member Author

xwolfde commented Mar 10, 2025

Wird im Editor unter "role" angeboten.
Derzeit als Stringeingabe.

Sollte zum Select, besser noch Multiselect werden. Beim Multiselect muss aber ggf die Queryabfrage zur API geändert werden.
Über die REST API sind die o.g. Rollen bereits verfügbar.

@xwolfde xwolfde changed the title Attribut function als Auswahlliste machen Attribut role als Auswahlliste machen Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant