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 b74d831 commit c256d15Copy full SHA for c256d15
core/app/models/spree/permission_set.rb
@@ -13,6 +13,7 @@ class PermissionSet < Spree::Base
13
scope :custom_permissions, -> {
14
where.not(id: display_permissions)
15
.where.not(id: management_permissions)
16
+ .where.not(set: ['Spree::PermissionSets::SuperUser', 'Spree::PermissionSets::DefaultCustomer'])
17
}
18
end
19
0 commit comments