diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-15 09:07:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-15 09:07:50 +0300 |
commit | 3c5195204b69df0bc69a0c98c7d61d258dc39866 (patch) | |
tree | 10af5c42e5ff538069565954476925709d94b679 /app/policies/issuable_policy.rb | |
parent | c40b7517717b0d23893a92527819fd05c2531b93 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/issuable_policy.rb')
-rw-r--r-- | app/policies/issuable_policy.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/policies/issuable_policy.rb b/app/policies/issuable_policy.rb index 779384ee3fe..aa07bb7dc5f 100644 --- a/app/policies/issuable_policy.rb +++ b/app/policies/issuable_policy.rb @@ -16,9 +16,6 @@ class IssuablePolicy < BasePolicy condition(:is_incident) { @subject.incident? } - desc "Issuable is hidden" - condition(:hidden, scope: :subject) { @subject.hidden? } - rule { can?(:guest_access) & assignee_or_author & ~is_incident }.policy do enable :read_issue enable :update_issue |