Commit 0e6c31b
authored
feat(portal): adds permissions based conditional rendering for create and delete flavors and flavors spec (#393)
* feat(portal): confirmation of ExtraSpec Deletion
* feat(portal): added compiled translation
* chore(portal): delete non confirm classes
* chore(portal): delete onClick which leads to nested buttons
* feat(portal): added conditional render based on permission
* chore(portal): add translations
* chore(portal): add compiled
* chore(portal): adjust Test with act and i18nProvider
* fix(portal): correct permissions
* fix(portal): delete console.log
* test(portal): added Tests to changed components
* test(portal): added Tests to changed components
* test(portal): undo problematic test
* refactor(portal): changed useEffects to use
* chore(portal): add translation
* chore(portal): added compiled trans
* chore(portal): delete test1 parent 31dca47 commit 0e6c31b
31 files changed
Lines changed: 2125 additions & 1384 deletions
File tree
- apps/aurora-portal
- permission_policies
- src
- client
- routes
- _auth/accounts/$accountId/projects/$projectId
- compute
- -components
- Flavors
- -components
- Instances
- -components
- KeyPairs
- -components
- ServerGroups/components
- gardener/-components
- auth
- store
- locales
- de
- en
- server/Compute
- routers
- types
- packages/policy-engine/src
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
0 commit comments