diff options
author | Rémy Coutable <remy@rymai.me> | 2018-08-28 12:59:34 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-08-28 12:59:34 +0300 |
commit | 3b9eb5631fa17bbf525b5e869d8e36665638cd5a (patch) | |
tree | f68e1f71a10d071a10a5dda577f15da249ab4c09 /spec/policies | |
parent | e78f5bf8d67b6c37266dc486bc645e209384087f (diff) | |
parent | 0f269f9c99e72e082fef6283387366b2831702d8 (diff) |
Merge branch 'fldubois/gitlab-ce-fix-api-group-createdat' into 'master'
Allow date parameters on Issues, Notes, and Discussions API for group owners
Closes #40059
See merge request gitlab-org/gitlab-ce!21342
Diffstat (limited to 'spec/policies')
-rw-r--r-- | spec/policies/group_policy_spec.rb | 1 | ||||
-rw-r--r-- | spec/policies/project_policy_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/policies/group_policy_spec.rb b/spec/policies/group_policy_spec.rb index 652d54f3a0d..5e583be457e 100644 --- a/spec/policies/group_policy_spec.rb +++ b/spec/policies/group_policy_spec.rb @@ -31,6 +31,7 @@ describe GroupPolicy do :admin_namespace, :admin_group_member, :change_visibility_level, + :set_note_created_at, (Gitlab::Database.postgresql? ? :create_subgroup : nil) ].compact end diff --git a/spec/policies/project_policy_spec.rb b/spec/policies/project_policy_spec.rb index dd3fa4e6a51..b7ec35d6ec5 100644 --- a/spec/policies/project_policy_spec.rb +++ b/spec/policies/project_policy_spec.rb @@ -64,6 +64,7 @@ describe ProjectPolicy do %i[ change_namespace change_visibility_level rename_project remove_project archive_project remove_fork_project destroy_merge_request destroy_issue + set_issue_iid set_issue_created_at set_note_created_at ] end |