From 9f75c7474dd29058f2074dabd14f834512d01244 Mon Sep 17 00:00:00 2001 From: ginokok1996 Date: Mon, 26 Oct 2020 16:55:57 +0100 Subject: [PATCH] updates to organizations in dashboard --- api/helm/id-vault-0.1.0.tgz | Bin 7119 -> 7120 bytes api/helm/index.yaml | 6 +- api/public/schema/openapi.yaml | 8 +-- api/src/Controller/DashboardController.php | 25 +++++++++ api/templates/dashboard/general.html.twig | 52 +++++++++--------- .../modals/add-organization-modal.html.twig | 2 +- .../dashboard/organizations.html.twig | 2 + 7 files changed, 62 insertions(+), 33 deletions(-) diff --git a/api/helm/id-vault-0.1.0.tgz b/api/helm/id-vault-0.1.0.tgz index 9f7fbdc6489f2b3676a7bfbbc3b6c6577495339b..9c29bc5c24aa66435322042f91bf07c6aa7ab2a7 100644 GIT binary patch literal 7120 zcmV;>8!zM^iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PKBzcN(|yaR1&k3ZXAJ&~p zrBZ3XR+IlNl}h>lma66Y59R7XtzO^XFV(6)l**NZYUKw|T01716fh3y52ZV|mG9i& zBtaj)N0edWHNdoNK;Mu5d|$RohJ%<*vCrj~4up&Y2Yo@{*Zye-P{cTBcH00mfG8m3 z5+LM(4OjdV2E?`O!~Oo}$~oWK@B z#{j^mP%Xm>bSf`Qgi2Mj z2H^{HfDX$h91P1t2ObOtwrv2Ak%f=fAq+F3@UiH^m5&+#`o4>881|ncpOOX`bMCW7 zu{gqf91MgsEFQ&V>YNl)gmBP=G=PJqS>XwQO*{^gIOM1SI)qTid_!FE z-2lKPHgqw+YJld1aYP*`XcKstizX)%;+d~031nI1O(i7_0A^^A^hXY%2i@e0g9gE< z0R&Ik&>kc8GoY@bb)#66?T!f(L&OjhOn4knsQBqcsiekQjQo-4PY8=p)^uGmJEeFe zDEi^?v&Vl5R-pmo$azB;XASW9f7ZW$6ddFSuG=Lpwng{c8N3pN*aN?l0L-xK0uLbv z@G)XY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L%E2u+{r+?JC+Oj=a=e?!*A|DJx z>^ayUg8aEzE`?0_?Q?Q|GOQ3RNaJP(XLGF01A?2lgpiaf~i6v^i=GT))^7(2j6 zV`cby7Em<8UyuW?Fn7T}o?GD5_pSl)Wlez+2oMDx_K{^+$AgOjClnbw;7FPy!H1&( za4=B4u z#*6fi7mqFollk9ow~pVpt%e%OKtnM6AIUiFne>{sruJg*mb9u=CcM~Mno=;>hOb9$YEhXFQ& zs56#LCS`}%tehIVGia8dTaP|LA2=oRU+nn5tnSP|n{Jx_`!n%>yOqk;{=b$~*xZS^ zf|Z+e%o*ah2@2&R{XhBip=zm3hfR@~f=y7WRcaNpS}|*TXVqG>UT@YL*5Tpd-eKdv z%G8*-HNOeE5Hb!N^c8`B4^F#)BF2G`JD34P0U?(FAs>7kQy93Py+59nqhHUZ@S!7U z$4=ry#B3K|4k4uKWpD?N5#vpO>W%8Iv*%Q+dp2|$qx$}C1s%ZsA+isLqupV{t{pZG zp}p5Y2hOm8M#H*2g7t&L`oXT_)D?V}h&|HP)s+BIjZI;?u#h>M;kb22x zF3vD3R@JIVl|foYWAe(+#u)jCE~M`6LAA2?-_nmRw6createResource($wrc, ['component' => 'wrc', 'type' => 'organizations']); + $userGroup = []; + $userGroup['name'] = $name; + $userGroup['title'] = $name; + $userGroup['description'] = 'group for '.$name; + $userGroup['organization'] = $commonGroundService->cleanUrl(['component' => 'wrc', 'type' => 'organizations', 'id' => $wrc['id']]); + + $group = $commonGroundService->createResource($userGroup, ['component' => 'uc', 'type' => 'groups']); + + $users = $commonGroundService->getResourceList(['component' => 'uc', 'type' => 'users'],['username' => $this->getUser()->getUsername()])['hydra:member']; + if (count($users) > 0 ) { + $organizations = []; + $user = $users[0]; + + $userGroups = []; + foreach ($user['userGroups'] as $userGroup) { + array_push($userGroups, '/groups/'.$userGroup['id']); + } + + $user['userGroups'] = $userGroups; + $user['userGroups'][] = '/groups/'.$group['id']; + + $commonGroundService->updateResource($user); + + } + } if ($this->getUser()){ diff --git a/api/templates/dashboard/general.html.twig b/api/templates/dashboard/general.html.twig index 10b75f3b..0b50a3a4 100644 --- a/api/templates/dashboard/general.html.twig +++ b/api/templates/dashboard/general.html.twig @@ -91,42 +91,44 @@ - -
-
+ {% if 'group.developer' not in app.user.roles %} + +
+
- -

- {{ 'become a developer!'|trans|capitalize }} -

+ +

+ {{ 'become a developer!'|trans|capitalize }} +

-
+
-
+
- -
-
-
+ + +
+
-

- {{ 'Are you an application developer? And are your hands itching to get started with id-vault? Then all you have to do is turn on the developer view, you can do that by using the slider in your personal settings or by pressing this button.'|trans }} -

+

+ {{ 'Are you an application developer? And are your hands itching to get started with id-vault? Then all you have to do is turn on the developer view, you can do that by using the slider in your personal settings or by pressing this button.'|trans }} +

-
-
+
+
- - + + +
-
- + +
-
+ {% endif %}
diff --git a/api/templates/dashboard/modals/add-organization-modal.html.twig b/api/templates/dashboard/modals/add-organization-modal.html.twig index 6739e642..47a0b898 100644 --- a/api/templates/dashboard/modals/add-organization-modal.html.twig +++ b/api/templates/dashboard/modals/add-organization-modal.html.twig @@ -45,7 +45,7 @@ diff --git a/api/templates/dashboard/organizations.html.twig b/api/templates/dashboard/organizations.html.twig index c48345a7..5de09b45 100644 --- a/api/templates/dashboard/organizations.html.twig +++ b/api/templates/dashboard/organizations.html.twig @@ -43,12 +43,14 @@ {{ 'name'|trans|capitalize }} + {% for resource in resources %} {{ resource.name }} + Open {% endfor %}