bizside 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bizside/acl/controller_helper.rb +5 -2
- data/lib/bizside/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 898525e0f8554857afa269a915fe53aa320939057fdef98e708474b5de2a483d
|
4
|
+
data.tar.gz: dcda38e428e11696f8b73aa1f0c97c9237ef5f645c72a3fb2e2e28fd0f9cb5ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ff88ef25f3b947a6b05dd9dd035ee1a4bdd609e79061221134b344084dc8ccd9b6e0694ba9575238bd07e1239e463c3cde6fdd30992c2095bf46b50e5427f17
|
7
|
+
data.tar.gz: f5fdeab08ca7d708c0ac0bc746fe90f3f98d5159755a98c49fa4d086097324f9be3f5c5a994c43f434b8cd4cbfbff89503e3c3473048c4b2fc29e287a55c8b0b
|
@@ -4,9 +4,12 @@ module Bizside
|
|
4
4
|
include Bizside::Acl::AvailableHelper
|
5
5
|
|
6
6
|
def authorize_user!
|
7
|
-
|
7
|
+
return if available_for(params[:controller], params[:action], params)
|
8
|
+
|
9
|
+
if request.xhr?
|
10
|
+
head :forbidden
|
11
|
+
else
|
8
12
|
redirect_to root_path
|
9
|
-
return
|
10
13
|
end
|
11
14
|
end
|
12
15
|
|
data/lib/bizside/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bizside
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bizside-developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -468,7 +468,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
468
468
|
requirements:
|
469
469
|
- - ">="
|
470
470
|
- !ruby/object:Gem::Version
|
471
|
-
version: 2.
|
471
|
+
version: 2.6.0
|
472
472
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
473
473
|
requirements:
|
474
474
|
- - ">="
|