Univention Bugzilla – Bug 38544
Open an App via URL query
Last modified: 2015-08-20 11:24:52 CEST
It would be helpful to open an App in the UMC App Center uvia URL query, for example: http://demo.univention.de/univention-management-console/?module=appcenter&app=xrdp
It is btw. already possible if the app is installed: http://demo.univention.de/univention-management-console/?module=apps&flavor=cups
Created attachment 6907 [details] patch Patch which allows /umc/?module=appcenter&flavor=appcenter&app=NAME Well, I would prefer /umc/appcenter/appcenter/NAME. I would not expose this as public API as we probably want to change from query string to fragment in Bug #20714. Patch fixes also Bug #36385.
Created attachment 6908 [details] patch [UDM] Another patch which allows the same functionality for every UDM object: /umc/?module=udm&flavor=users/user&dn=uid%3DAdministrator%2Ccn%3Dusers%2Cdc%3Dnstx%2Cdc%3Dlocal
Fixed: the attribute props is now given to module initialization which contains the querystring without {username,password,module,flavor,overview,lang}. Fix: svn r60928 YAML: 2015-05-28-univention-management-console-frontend.yaml For appcenter the parameter 'app' is evaluated. Fix: svn r60929 YAML: 2015-05-28-univention-management-console-module-appcenter.yaml For udm the parameter 'dn' and 'objectType' are evaluated. Fix: svn r60927 YAML: 2015-05-12-univention-management-console-module-udm.yaml
*** Bug 36385 has been marked as a duplicate of this bug. ***
App Center works fine. But UDM has some issues. ?module=udm&flavor=navigation&dn=uid%3DAdministrator%2Ccn%3Dusers... raises. But even with flavor=users/user the object is opened, but cancelling or saving closes the complete module. Is this intentional? Because the App Center works differently.
(In reply to Dirk Wiesenthal from comment #6) > App Center works fine. But UDM has some issues. > ?module=udm&flavor=navigation&dn=uid%3DAdministrator%2Ccn%3Dusers... raises. It raises because you missed "&objectType=groups/group" in the query string. → Should I do anything here? E.g. using a sanitizer which shows "missing param: objectType". > But even with flavor=users/user the object is opened, but cancelling or > saving closes the complete module. Is this intentional? Because the App > Center works differently. Well, that's the design of UDM because we use this functionality already when opening objects in a new tab.
(In reply to Florian Best from comment #7) > (In reply to Dirk Wiesenthal from comment #6) > > App Center works fine. But UDM has some issues. > > ?module=udm&flavor=navigation&dn=uid%3DAdministrator%2Ccn%3Dusers... raises. > It raises because you missed "&objectType=groups/group" in the query string. > → Should I do anything here? E.g. using a sanitizer which shows "missing > param: objectType". This "Bad request" error is now also handled. (svn r61343).
Code: OK YAML: OK
<http://errata.univention.de/ucs/4.0/267.html>
<http://errata.univention.de/ucs/4.0/266.html>
<http://errata.univention.de/ucs/4.0/265.html>