Univention Bugzilla – Full Text Bug Listing |
Summary: | ucs-overview variables only set when joined | ||
---|---|---|---|
Product: | UCS | Reporter: | Tim Petersen <petersen> |
Component: | UMC (Generic) | Assignee: | Alexander Kramer <kramer> |
Status: | CLOSED FIXED | QA Contact: | Alexander Kläser <klaeser> |
Severity: | enhancement | ||
Priority: | P5 | CC: | andree.hingst, ebersbach, gohmann, hahn, jmm, klaeser, stephan.hendl |
Version: | UCS 3.2 | Flags: | klaeser:
Patch_Available+
|
Target Milestone: | UCS 3.2-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | 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): | Usability | |
Max CVSS v3 score: | |||
Attachments: |
patch: add an link to the umc-overview so you can also login if the system has not joined yet
updated the patch to include the hints |
Description
Tim Petersen
2014-03-11 14:36:40 CET
Again noticed in a Technical Training Session: The overview-page should always provide a link to the local UMC to allow "root" to login to join the system. Currently http://.../univention-management-console/ has to be entered manually. @Alex: Could you provide a patch for a solution (attached to this bug)? Created attachment 5931 [details]
patch: add an link to the umc-overview so you can also login if the system has not joined yet
* did not change 34univention-management-console-web-server.inst, so the following patch will be overwritten if the system joines the domain * the patch will add the following lines to univention-management-console-frontend.postinst: ---- # set ucs-overview variables - only if they aren't set, so the user can also login even the system has not joined the domain yet # instead of the normal text the user will see: 'Please login as root to join the domain' # this text will be overwritten if the system joins the master - see: 34univention-management-console-web-server.inst ucr set ucs/web/overview/entries/admin/umc/icon?"/univention-management-console/js/dijit/themes/umc/icons/50x50/univention-management-console.png" \ ucs/web/overview/entries/admin/umc/label?"System and domain settings" \ ucs/web/overview/entries/admin/umc/label/de?"System- und Domäneneinstellungen" \ ucs/web/overview/entries/admin/umc/description?"Please login as root to join the domain " \ ucs/web/overview/entries/admin/umc/description/de?"Bitte loggen Sie sich als Nutzer root ein, um der Domaine beizutreten." \ ucs/web/overview/entries/admin/umc/link?"/univention-management-console" \ ucs/web/overview/entries/admin/umc/priority?"10" /etc/init.d/univention-management-console-web-server restart The patch looks fine. I would suggest the following little changes:
> ucr set ucs/web/overview/entries/admin/umc/icon?"/univention-management-console/js/dijit/themes/umc/icons/50x50/univention-management-console.png" \
> ucs/web/overview/entries/admin/umc/label?"System and domain settings" \
> ucs/web/overview/entries/admin/umc/label/de?"System- und Domäneneinstellungen" \
> - ucs/web/overview/entries/admin/umc/description?"Please login as root to join the domain " \
> - ucs/web/overview/entries/admin/umc/description/de?"Bitte loggen Sie sich als Nutzer root ein, um der Domaine beizutreten." \
> - ucs/web/overview/entries/admin/umc/link?"/univention-management-console" \
> + ucs/web/overview/entries/admin/umc/description?"Please login as <i>root</i> to join the domain" \
> + ucs/web/overview/entries/admin/umc/description/de?"Bitte loggen Sie sich als Benutzer <i>root</i> ein, um der Domäne beizutreten" \
> + ucs/web/overview/entries/admin/umc/link?"/univention-management-console?username=root" \
> ucs/web/overview/entries/admin/umc/priority?"10"
> -/etc/init.d/univention-management-console-web-server restart
Created attachment 5948 [details]
updated the patch to include the hints
Patch looks good to me. Can you prepare it as erratum, please? Added patch to svn and adapted yaml file. Package has been build. univention-management-console-frontend (3.0.152-31) * Bug #34317: set default link to UMC on UCS overview page (In reply to Alexander Kramer from comment #8) > Added patch to svn and adapted yaml file. Package has been build. > > univention-management-console-frontend (3.0.152-31) > * Bug #34317: set default link to UMC on UCS overview page The suggestions from comment 5 have not been added to the SVN → reopen. YAML file looks fine :) . Added the suggestions from comment 5 to svn. Also adapted the YAML file and the package has been build. univention-management-console-frontend (3.0.152-34) * Bug #34317: Adapted the default link on UCS overview page. *** Bug 35242 has been marked as a duplicate of this bug. *** Looks fine now :) → VERIFIED |