gitlab-org--gitlab-foss/app/policies
Dylan Griffith dacd0ee18b Refactor: model errors for multi cluster validation
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.
2019-07-11 17:22:58 +10:00
..
application_setting
ci
clusters Refactor: model errors for multi cluster validation 2019-07-11 17:22:58 +10:00
concerns Refactor: model errors for multi cluster validation 2019-07-11 17:22:58 +10:00
project_policy
award_emoji_policy.rb GraphQL mutations for add, remove and toggle emoji 2019-06-28 12:03:33 +12:00
base_policy.rb preventing blocked users and their PipelineSchdules from creating new Pipelines 2019-06-04 20:25:26 -05:00
board_policy.rb
commit_policy.rb
commit_status_policy.rb
container_repository_policy.rb
deploy_key_policy.rb
deploy_token_policy.rb
deployment_policy.rb
environment_policy.rb
external_issue_policy.rb
global_policy.rb preventing blocked users and their PipelineSchdules from creating new Pipelines 2019-06-04 20:25:26 -05:00
group_label_policy.rb
group_member_policy.rb
group_policy.rb Refactor: model errors for multi cluster validation 2019-07-11 17:22:58 +10:00
identity_provider_policy.rb
issuable_policy.rb
issue_policy.rb
merge_request_policy.rb
milestone_policy.rb
namespace_policy.rb
nil_policy.rb
note_policy.rb
personal_snippet_policy.rb
project_label_policy.rb
project_member_policy.rb
project_policy.rb Refactor: model errors for multi cluster validation 2019-07-11 17:22:58 +10:00
project_snippet_policy.rb
project_statistics_policy.rb Do not blindly expose public project statistics 2019-06-14 20:40:21 +00:00
protected_branch_policy.rb
release_policy.rb
repository_policy.rb Enforce authorizations for non-nullable fields 2019-06-21 13:00:50 +02:00
suggestion_policy.rb
user_policy.rb