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

Parent User implementation to inherit settings and permissions #177

Merged
merged 51 commits into from
Sep 3, 2021

Conversation

rkrenn
Copy link
Collaborator

@rkrenn rkrenn commented Jul 22, 2021

this implementation provides the option to specify the parent user of a user.

grafik

a setting value can be either specified for the user or derived from the parent user ("inherited"). to inherit from parent, a checkbox can be ticked for each of the supported user settings:

UI:

locale
time zone
date format
decimal separator
theme
show tooltips

Decryption:

decrypt
decrypt from untrusted hosts

Tab&Module visibility:

enable inventory module
enable staff module
enable course module
enable trial module
enable inputfield module
enable proband module
enable massmail module
enable user module
list of visible inventory tabs
list of visible staff tabs
list of visible course tabs
list of visible trial tabs
list of visible proband tabs
list of visible inputfield tabs
list of visible user tabs
list of visible massmail tabs

Access Control:

user locked
inventory module permissions
staff module permissions
course module permissions
trial module permissions
proband module permissions
user module permissions
inputfield module permissions
massmail module permissions
inventory search permissions
staff search permissions
course search permissions
trial search permissions
proband search permissions
user search permissions
inputfield search permissions
massmail search permissions

when resolving a value, the chain of parents is traversed until it reaches an ancestor user that does no longer inherit. the UI precalculates a resulting value, which is indicated in tooltip texts or italic item labels.

grafik
grafik

closes #175
closes #176

- add users.parentId column
- add UserOutVO parent<->children circular relationships
- introduce UserInheritedVO value object
- service methods to retrieve UserInheritedVO
- finder MEthod to retrieve inherited permissions
@rkrenn rkrenn requested review from VeitWeber and Jensrib July 22, 2021 11:09
@rkrenn rkrenn linked an issue Jul 27, 2021 that may be closed by this pull request
rkrenn added 20 commits July 28, 2021 13:37
optionally aggregate addresses in proband search result excel
- add users.parentId column
- add UserOutVO parent<->children circular relationships
- introduce UserInheritedVO value object
- service methods to retrieve UserInheritedVO
- finder MEthod to retrieve inherited permissions
@rkrenn rkrenn merged commit 3fc2ef0 into master Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tooltip labels describing the pies in Venn diagrams are incomplete? inherit Settings from a Parent User
1 participant