Bug 31804 - Generic activation
Generic activation
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 enhancement (vote)
: UCS 4.1-4-errata
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on:
Blocks: 43812
  Show dependency treegraph
 
Reported: 2013-06-25 07:06 CEST by Stefan Gohmann
Modified: 2017-03-22 09:19 CET (History)
3 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): Release Goal
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2013-06-25 07:06:49 CEST
We should think about a way to get a generic activation for app vendors (ISV).

For example, the ISV can define in the ini file whether computers or users should be activated for the app.
We add a new multi value attribute to univentionObject, for example univentionActivatedApp. Via UDM CLI or UMC the AppID can be written to the attribute.

The activation should be on one tab in UMC. Some apps will still have its own schema extensions. I think that will be OK.
Comment 1 Dirk Wiesenthal univentionstaff 2013-06-27 10:25:25 CEST
Which apps should be listed in that Widget? Only the installed? What happens to that attribute if the application is uninstalled?
Comment 2 Stefan Gohmann univentionstaff 2013-08-23 09:08:11 CEST
Not with UCS 3.2.
Comment 3 Florian Best univentionstaff 2016-10-07 17:58:17 CEST
I think this is not needed anymore? The Core-Edition and the license-activation achieved this, if I understand correctly.
Comment 4 Dirk Wiesenthal univentionstaff 2016-10-08 00:19:42 CEST
No, this is a generic activation for Apps, not UCS. A user object should get a checkbox "Activated for ownCloud".
Comment 5 Dirk Wiesenthal univentionstaff 2017-01-20 15:23:29 CET
Fixed in
  univention-appcenter 5.0.23-37.264.201701201311

GenericUserActivation=True

adds a schema file defining ${app}Activated as attribute and ${app}User as objectClass.

If a schema file is shipped along with the App, this file is used instead.

The schema file is then registered and an Extended Attribute is added on the "Apps" tab of UDM. The Extended Attribute is a CheckBox and reads "Activate user for %s".
Comment 6 Felix Botner univentionstaff 2017-01-23 11:40:10 CET
* Fail - extended attribute is removed during App deinstallation even if the App
         is installed on another machine in the domain

* OK - App installation with GenericUserActivation=True on member 
        server/master server
* OK - second App with GenericUserActivation=True
* OK - normal App installation
* OK - deinstallation of GenericUserActivation=True App
Comment 7 Dirk Wiesenthal univentionstaff 2017-01-23 18:18:46 CET
Fixed in
  univention-appcenter 5.0.23-40.267.201701231816
Comment 8 Felix Botner univentionstaff 2017-01-24 16:11:42 CET
OK - test
OK - YAML
OK - univention-appcenter
Comment 9 Janek Walkenhorst univentionstaff 2017-02-08 14:22:51 CET
<http://errata.software-univention.de/ucs/4.1/389.html>