Commit 8190b68
Anurag Awasthi
Misc fixes to sharing templates functionality
1. Fix populating g_allowUserViewAllDomainAccounts flag. This was
implemented incorrectly and caused flag's effect to not reflect
directly after login.
2. Filter account/project names only for add operation. update
template permissions API is implemented in such a way that it allows
removal of any account that could have had permissions but allows
only adding accounts/projects which are in caller's domain.
3. Added some checks where null variable could result in crash.1 parent 1141377 commit 8190b68
3 files changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
| |||
374 | 376 | | |
375 | 377 | | |
376 | 378 | | |
| 379 | + | |
377 | 380 | | |
378 | 381 | | |
379 | 382 | | |
| |||
410 | 413 | | |
411 | 414 | | |
412 | 415 | | |
| 416 | + | |
413 | 417 | | |
414 | 418 | | |
415 | 419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1643 | 1643 | | |
1644 | 1644 | | |
1645 | 1645 | | |
1646 | | - | |
1647 | | - | |
| 1646 | + | |
| 1647 | + | |
1648 | 1648 | | |
1649 | 1649 | | |
1650 | 1650 | | |
| |||
1658 | 1658 | | |
1659 | 1659 | | |
1660 | 1660 | | |
1661 | | - | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
1662 | 1664 | | |
1663 | 1665 | | |
1664 | 1666 | | |
| |||
1707 | 1709 | | |
1708 | 1710 | | |
1709 | 1711 | | |
1710 | | - | |
1711 | | - | |
| 1712 | + | |
| 1713 | + | |
1712 | 1714 | | |
1713 | 1715 | | |
1714 | 1716 | | |
| |||
1723 | 1725 | | |
1724 | 1726 | | |
1725 | 1727 | | |
1726 | | - | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
1727 | 1731 | | |
1728 | 1732 | | |
1729 | 1733 | | |
| |||
0 commit comments