effective_roles 2.8.2 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/effective_roles.rb +3 -3
- data/lib/effective_roles/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9272987f28eeb83c5eb73aa729454a7f56207648d45f53eba9fcc4826b40e27f
|
|
4
|
+
data.tar.gz: bf4d67c65d99c15dd008acffdc3bb1c1240b8a180f03de4e3e79c64e1ee13066
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3578e6bfd66d082fb52456ccdd2e58b87fdc17b68742d0fa6e9a261d1e76bd497b51df4dc1aef06b125e6eb95a7cc6c42246d9d2ec995fb435621368775c524
|
|
7
|
+
data.tar.gz: 58432edd89e5e99d74af4a9e5666683a823e0aadda3ac7477794c6ba00702bc8f311a8614813ff832a3a609802e57dc22337ddd70b3ae289e11190abe8404330
|
data/config/effective_roles.rb
CHANGED
|
@@ -5,13 +5,13 @@ EffectiveRoles.setup do |config|
|
|
|
5
5
|
# ========================
|
|
6
6
|
# This setting configures the text that is displayed by form helpers (see README.md)
|
|
7
7
|
#
|
|
8
|
-
# Use this Hash syntax if you want different labels depending on the resource being
|
|
8
|
+
# Use this Hash syntax if you want different labels depending on the resource being edited
|
|
9
9
|
#
|
|
10
10
|
# config.role_descriptions = {
|
|
11
11
|
# 'User' => {
|
|
12
12
|
# :superadmin => 'full access to everything. Can manage users and all website content.',
|
|
13
13
|
# :admin => 'full access to website content. Cannot manage users.',
|
|
14
|
-
# :member => 'cannot access admin area. Can see all content in members-only sections of the website.'
|
|
14
|
+
# :member => 'cannot access admin area. Can see all content in members-only sections of the website.'
|
|
15
15
|
# },
|
|
16
16
|
# 'Effective::Page' => {
|
|
17
17
|
# :superadmin => 'allow superadmins to see this page',
|
|
@@ -47,7 +47,7 @@ EffectiveRoles.setup do |config|
|
|
|
47
47
|
# 2.) Using before_action :set_effective_roles_current_user
|
|
48
48
|
# 3.) Using Effective::CrudController does this automatically.
|
|
49
49
|
#
|
|
50
|
-
# Use this Hash syntax if you want different permissions depending on the resource being
|
|
50
|
+
# Use this Hash syntax if you want different permissions depending on the resource being edited
|
|
51
51
|
#
|
|
52
52
|
# config.assignable_roles = {
|
|
53
53
|
# 'User' => {
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_roles
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.8.
|
|
4
|
+
version: 2.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rails
|
|
@@ -163,7 +162,6 @@ homepage: https://github.com/code-and-effect/effective_roles
|
|
|
163
162
|
licenses:
|
|
164
163
|
- MIT
|
|
165
164
|
metadata: {}
|
|
166
|
-
post_install_message:
|
|
167
165
|
rdoc_options: []
|
|
168
166
|
require_paths:
|
|
169
167
|
- lib
|
|
@@ -178,8 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
178
176
|
- !ruby/object:Gem::Version
|
|
179
177
|
version: '0'
|
|
180
178
|
requirements: []
|
|
181
|
-
rubygems_version:
|
|
182
|
-
signing_key:
|
|
179
|
+
rubygems_version: 4.0.17
|
|
183
180
|
specification_version: 4
|
|
184
181
|
summary: Assign multiple roles to any User or other ActiveRecord object. Select only
|
|
185
182
|
the appropriate objects based on intelligent, chainable ActiveRecord::Relation finder
|