Commit debfb45
Added configuration and Integration test to restrict public template … (#4774)
* Added configuration and Integration test to restrict public template access.
* Move settings to domain.
* Updated integration test.
* Changed Config key's name and description.
* Justified the variable names and removed white spaces.
* Added configuration and Integration test to restrict public template access.
* Move settings to domain.
* Changed Config key's name and description.
* Justified the variable names and removed white spaces.
* Moved configuration to domain scope.
* Added integration test to travis.
* Updated the configuration's name and description.
* Extracted public template check to a separate method.
* Fixed rebase issue.
* Apply tear down changes.
* Update .travis.yml to remove the component test
The test needs to be updated to use the new configuration name
Co-authored-by: Wei Zhou <[email protected]>1 parent 830f306 commit debfb45
File tree
4 files changed
+693
-5
lines changed- api/src/main/java/org/apache/cloudstack/query
- server/src/main/java/com/cloud
- acl
- api/query
- test/integration/component
4 files changed
+693
-5
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
106 | 139 | | |
107 | 140 | | |
108 | 141 | | |
| |||
168 | 201 | | |
169 | 202 | | |
170 | 203 | | |
| 204 | + | |
| 205 | + | |
171 | 206 | | |
172 | 207 | | |
173 | 208 | | |
| |||
Lines changed: 29 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
3636 | 3637 | | |
3637 | 3638 | | |
3638 | 3639 | | |
| 3640 | + | |
| 3641 | + | |
3639 | 3642 | | |
3640 | 3643 | | |
3641 | 3644 | | |
| |||
3741 | 3744 | | |
3742 | 3745 | | |
3743 | 3746 | | |
3744 | | - | |
| 3747 | + | |
3745 | 3748 | | |
3746 | 3749 | | |
3747 | 3750 | | |
3748 | 3751 | | |
3749 | 3752 | | |
3750 | | - | |
| 3753 | + | |
3751 | 3754 | | |
3752 | 3755 | | |
3753 | 3756 | | |
| |||
3849 | 3852 | | |
3850 | 3853 | | |
3851 | 3854 | | |
3852 | | - | |
| 3855 | + | |
3853 | 3856 | | |
3854 | 3857 | | |
3855 | 3858 | | |
| |||
3858 | 3861 | | |
3859 | 3862 | | |
3860 | 3863 | | |
3861 | | - | |
| 3864 | + | |
| 3865 | + | |
3862 | 3866 | | |
3863 | 3867 | | |
3864 | 3868 | | |
| |||
3873 | 3877 | | |
3874 | 3878 | | |
3875 | 3879 | | |
| 3880 | + | |
| 3881 | + | |
| 3882 | + | |
| 3883 | + | |
| 3884 | + | |
| 3885 | + | |
3876 | 3886 | | |
3877 | 3887 | | |
3878 | 3888 | | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
| 3893 | + | |
| 3894 | + | |
| 3895 | + | |
| 3896 | + | |
| 3897 | + | |
| 3898 | + | |
| 3899 | + | |
| 3900 | + | |
| 3901 | + | |
3879 | 3902 | | |
3880 | 3903 | | |
3881 | 3904 | | |
| |||
4357 | 4380 | | |
4358 | 4381 | | |
4359 | 4382 | | |
4360 | | - | |
| 4383 | + | |
| 4384 | + | |
4361 | 4385 | | |
4362 | 4386 | | |
0 commit comments