summaryrefslogtreecommitdiff
path: root/app/policies/clusters
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-151-0/+2
|
* Add method to authorize reading from prometheus proxyRyan Cobb2019-09-071-0/+1
|
* Refactor: model errors for multi cluster validationDylan Griffith2019-07-111-7/+0
| | | | | | | | | | | The current approach requires catching exceptions to handle these errors and callers are already handling model validations so it seems more appropriate. Also it seemed to convoluted to add this logic directly to the model since the model needs to check too many possible associations to determine whether or not there are more than one cluster since the model doesn't know what it's being created on. Additionally we only wanted to validate during create to avoid the risk of existing models becoming invalid by many different edge cases.
* Remove instance_clusters feature_flagremove_group_and_instance_clusters_feature_flagThong Kuah2019-06-281-2/+1
| | | | | | Now we have terminals for instance and group clusters we can remove the FF now. Deploying to instance clusters has been working without complaints too.
* Convert instance level clusters enabled to class methodJames Fargher2019-05-071-1/+1
|
* Check instance cluster feature at policy levelJames Fargher2019-05-071-1/+2
| | | | Try to simplify feature flag checks by using policies
* Instance level kubernetes clusters adminJames Fargher2019-05-072-0/+21
| | | | | Instance level clusters were already mostly supported, this change adds admin area controllers for cluster CRUD
* Add policy for clusters on group levelThong Kuah2018-11-081-5/+1
| | | | | - maintainer for group can read, create, update, and admin cluster - project user, at any level, cannot do anything with group cluster
* Enable frozen string in presenters and policiesrepo-forks/gitlab-ce-frozen-string-enable-app-presentersgfyoung2018-07-241-0/+2
| | | | | | | | | Enable frozen string in: * app/presenters * app/policies Partially addresses #47424.
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-1/+1
|
* This worksShinya Maeda2017-10-231-0/+12