We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4569a6 commit 0356c6bCopy full SHA for 0356c6b
src/api-umbrella/web-app/app/models/config_version.rb
@@ -70,7 +70,7 @@ def self.pending_changes(current_admin)
70
end
71
72
if(current_admin)
73
- pending_records = Pundit.policy_scope!(current_admin, pending_records)
+ pending_records = ApiPolicy::Scope.new(current_admin, pending_records).resolve("backend_publish")
74
75
76
pending_records = pending_records.sorted.all
0 commit comments