Bug 50496 - Hide the default Computer, User and Groups in ucs@school environments
Hide the default Computer, User and Groups in ucs@school environments
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-14 12:09 CET by Christian Völker
Modified: 2023-06-12 14:02 CEST (History)
7 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019110521001298
Bug group (optional): Role and Access Model
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Völker univentionstaff 2019-11-14 12:09:39 CET
Very often we have issues with LDAP objects (users, groups or computers) which have not been generated with the schoollib (UMC: Computers(School) or Importer). 

Instead they have been added through the "usual" UCS-Ways outside of ucs@school.

VERY frequently we have severe issues with these objects. They are lacking the correct attributes or are lcated at the wrong place and cause crashes.

Can we hide the "default" modules or change them so the users will create proper ucs@school objects?
Comment 1 Daniel Tröder univentionstaff 2019-11-14 12:53:24 CET
I don't think it's advisable to hide administration tools from privileged users.
They do require them anyway, to edit any attribute that is not available in the school-umc-wizards.

We could instead show a warning when they want to create such objects through the non-school-modules.
Additionally we should write system diagnose tests, that help find and fix problematic objects. The first one may already be on its way for Bug #50349.
Comment 2 Ingo Steuwer univentionstaff 2019-12-02 14:08:39 CET
An idea: We could add a message/popup in the normal users/users UMC module which will be shown in case UCS@school is active and informs the user that pupils/teachers should not be created with this module.
Comment 3 Daniel Tröder univentionstaff 2019-12-04 08:14:40 CET
I like that idea.
Maybe in UCS a hook could be searched in the "add-user" UMC call and in UCS@school we'll install the hook implementation.
The hook mechanism should allow for multiple implementations to be called one after the other until all complete or one raises an exception.
Comment 4 Michel Smidt 2019-12-04 09:49:49 CET
I don't know if it's done with a warning.
It's all about the use case "ADD".
If UCS@school is installed, would it be possible to display a "ADD SCHOOL USER" button to the left of the normal "ADD" button? 
The "ADD SCHOOL USER" button would then open the @school "User (Schools)" wizard.