Bug 47621 - Create Apple School Manager Connector app
Summary: Create Apple School Manager Connector app
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: Apple School Manager
Version: UCS@school 4.3
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Daniel Tröder
QA Contact: Jürn Brodersen
URL:
Keywords:
Depends on:
Blocks: 47620 48150
  Show dependency treegraph
 
Reported: 2018-08-21 09:13 CEST by Daniel Tröder
Modified: 2018-11-19 17:44 CET (History)
2 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?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments
Annonymisierung (88.88 KB, image/png)
2018-09-17 10:01 CEST, Michel Smidt
Details
Auto sync (65.77 KB, image/png)
2018-09-17 10:01 CEST, Michel Smidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2018-08-21 09:13:34 CEST
Create the app:
* can be installed on DC master and DC backup
* README*, translations
* icon

+++ This bug was initially created as a clone of Bug #47620 +++

Create an app that allows uploading ZIP compressed CSV files to the Apple School Manager server to synchronize UCS@schoool users to Apple.

* create an app that can be installed on DC master and DC backup
* the apps configuration should be done with UCR variables
* use app settings as configuration wizard (to set the UCR variables)
* create scripts for cronjobs for daily uploads

This is a meta bug to track dependent bugs.
Comment 1 Daniel Tröder univentionstaff 2018-08-21 09:24:01 CEST
The app has been created with

Name: "Apple School Manager Connector"
ID: "asm"
Initial version: "1.0"
Component: 4.3/asm_20180821085222
Installation roles: DC master and DC backup

TODO:
* texts
* icon
* license
* images
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2018-08-21 09:41:51 CEST
https://git.knut.univention.de/univention/components/apple-school-manager
has been created.
Comment 3 Michel Smidt 2018-08-22 13:10:49 CEST
(In reply to Daniel Tröder from comment #1)

> 
> TODO:
> * texts
> * icon
> * license
> * images

Added logos/icons
Comment 4 Daniel Tröder univentionstaff 2018-09-14 15:26:16 CEST
AFAICS everything except for the README is done.

There is a problem with the "Description" text:

> Apple IDs are generated automatically and consist of benutzername@appleid.mail.domain if nothing else is configured.

Currently the default is to *not* prepend a domain, unless the UCRV asm/attributes/user/email/prepend_domain is set to something (e.g. 'appleid'). Either the text should be changed or the default.

I suggest to add to the README a list of useful UCRVs to review:

* asm/attributes/user/email/prepend_domain
* asm/attributes/classes/class_number_empty
* asm/attributes/staff/anonymize
* asm/attributes/student/anonymize

Texts can be copied from apple-school-manager/debian/univention-apple-school-manager-connector.univention-config-registry-variables
Comment 5 Michel Smidt 2018-09-17 10:00:20 CEST
(In reply to Daniel Tröder from comment #4)
> AFAICS everything except for the README is done.
> 
> There is a problem with the "Description" text:
> 
> > Apple IDs are generated automatically and consist of benutzername@appleid.mail.domain if nothing else is configured.
> 
> Currently the default is to *not* prepend a domain, unless the UCRV
> asm/attributes/user/email/prepend_domain is set to something (e.g.
> 'appleid'). Either the text should be changed or the default.

Changed the text/description.

> 
> I suggest to add to the README a list of useful UCRVs to review:
> 
> * asm/attributes/user/email/prepend_domain
> * asm/attributes/classes/class_number_empty
> * asm/attributes/staff/anonymize
> * asm/attributes/student/anonymize
> 
> Texts can be copied from
> apple-school-manager/debian/univention-apple-school-manager-connector.
> univention-config-registry-variables

Added the README.

I still have a few comments to make:
- Is it possible to add a dependency to a certain version of UCS@school? I had installed an old version of UCS@school which lead to a failing Apple School Manager Connector installation.
- From the usablity point of view (see ASM view appended) it would be nice if you activated the anonymization (asm/attributes/{staff,student}/anonymize) to also write the username in the first name by default. 
- You can specify an hour >24 in the "Automatic synchronization". See screenshot attached.
Comment 6 Michel Smidt 2018-09-17 10:01:04 CEST
Created attachment 9674 [details]
Annonymisierung
Comment 7 Michel Smidt 2018-09-17 10:01:23 CEST
Created attachment 9675 [details]
Auto sync
Comment 8 Jürn Brodersen univentionstaff 2018-09-17 10:50:24 CEST
(In reply to Michel Smidt from comment #7)
> Created attachment 9675 [details]
> Auto sync

Changed to drop down. Looks a little bit weird in my opinion but it works :)
Comment 9 Daniel Tröder univentionstaff 2018-09-17 13:04:31 CEST
(In reply to Michel Smidt from comment #5)
> - Is it possible to add a dependency to a certain version of UCS@school? I
> had installed an old version of UCS@school which lead to a failing Apple
> School Manager Connector installation.
No.
I have removed the dependency on a specific version by using a r/w cn=admin connection now (r/o before). See Bug #47622#c12.

> - From the usablity point of view (see ASM view appended) it would be nice
> if you activated the anonymization
> (asm/attributes/{staff,student}/anonymize) to also write the username in the
> first name by default. 
When the UCRVs are activated, the users UID is now sent instead of "Vorname". See Bug #47622#c11.
Comment 10 Jürn Brodersen univentionstaff 2018-10-02 10:41:16 CEST
Tests -> OK
Upload works -> OK
App is in the test appcenter -> OK
Comment 11 Daniel Tröder univentionstaff 2018-11-19 17:44:50 CET
App v1.1 has been released: https://www.univention.com/products/univention-app-center/app-catalog/apple-school-manager/