Skip to content
Permalink
Browse files

api: fix Export.Update query

  • Loading branch information...
aither64 committed Nov 8, 2019
1 parent 0f7fbf5 commit ca00029c9ef8b89d3b1e30148a45d2b95c2be13d
Showing with 1 addition and 1 deletion.
  1. +1 −1 api/lib/vpsadmin/api/resources/export.rb
@@ -343,7 +343,7 @@ class Update < HaveAPI::Actions::Default::Update

authorize do |u|
allow if u.role == :admin
restrict user_id: u.id
restrict exports: {user_id: u.id}
allow
end

0 comments on commit ca00029

Please sign in to comment.
You can’t perform that action at this time.