thecore_auth_commons 3.1.4 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -28
- data/config/locales/en.thecore_auth_commons.yml +18 -10
- data/config/locales/it.permissions.yml +10 -0
- data/lib/thecore_auth_commons/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 105f8e337cc512ab898b70adc38e48489541da066d54fca8755139074f6ff813
|
4
|
+
data.tar.gz: 7290df581a3776477a8e3e8b235f37f5f806619c2a8ceb112821b22135c02e3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a869e6945527a4e30a2a51d4e0ed0b68f68651b4ed29b44bdeef1500f6b0ed7f21e285cce03cb74fa6eac7d71bd7a48f451b8fe810c2bbbdad6a696a5676bbea
|
7
|
+
data.tar.gz: ebda2a1433500aed43360bcabe0cf23dc423490bf652028b69ad015bbd2445a0253e03c2feb1c51c1934f8e4d398b38861ab16c0fd83eb623bb8917cc3ee4e57
|
data/README.md
CHANGED
@@ -1,28 +1 @@
|
|
1
|
-
|
2
|
-
Short description and motivation.
|
3
|
-
|
4
|
-
## Usage
|
5
|
-
How to use my plugin.
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
Add this line to your application's Gemfile:
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
gem "thecore_auth_commons"
|
12
|
-
```
|
13
|
-
|
14
|
-
And then execute:
|
15
|
-
```bash
|
16
|
-
$ bundle
|
17
|
-
```
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
```bash
|
21
|
-
$ gem install thecore_auth_commons
|
22
|
-
```
|
23
|
-
|
24
|
-
## Contributing
|
25
|
-
Contribution directions go here.
|
26
|
-
|
27
|
-
## License
|
28
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
1
|
+
This is part of Thecore framework: https://github.com/gabrieletassoni/thecore/tree/release/3
|
@@ -12,27 +12,35 @@ en:
|
|
12
12
|
other: Permissions
|
13
13
|
attributes:
|
14
14
|
user:
|
15
|
-
email:
|
16
|
-
username: Username
|
15
|
+
email: Email
|
17
16
|
code: Code
|
18
17
|
roles: Roles
|
19
18
|
admin: Administrator?
|
20
|
-
created_at:
|
19
|
+
created_at: Creation Date
|
21
20
|
locked: Locked?
|
22
|
-
third_party: Third
|
21
|
+
third_party: Third Party?
|
23
22
|
password: Password
|
24
|
-
password_confirmation: Password
|
23
|
+
password_confirmation: Confirm Password
|
25
24
|
role:
|
26
25
|
users: Users
|
27
26
|
name: Role
|
28
27
|
permissions: Permissions
|
29
|
-
created_at:
|
30
|
-
updated_at:
|
28
|
+
created_at: Creation Date
|
29
|
+
updated_at: Last Update
|
31
30
|
permission:
|
32
31
|
predicate: Predicate
|
33
32
|
action: Action
|
34
33
|
model: Model
|
35
34
|
descriptions:
|
36
|
-
user:
|
37
|
-
role:
|
38
|
-
permission:
|
35
|
+
user: In this section of the application, you can search the list of users in different ways using filters or sort the list by various fields.
|
36
|
+
role: In this section, you can create roles to use in the RBAC managed by the abilities files, to define CRUD and other permissions.
|
37
|
+
permission: The predicate defines whether it is a permission to do or not do something, the action defines what can or cannot be done, while the model defines on whom.
|
38
|
+
permissions:
|
39
|
+
predicates:
|
40
|
+
can: Can
|
41
|
+
cannot: Cannot
|
42
|
+
actions:
|
43
|
+
manage: Manage
|
44
|
+
read: Read
|
45
|
+
update: Update
|
46
|
+
destroy: Delete
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_auth_commons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -189,6 +189,7 @@ files:
|
|
189
189
|
- config/initializers/concern_user.rb
|
190
190
|
- config/locales/en.permissions.yml
|
191
191
|
- config/locales/en.thecore_auth_commons.yml
|
192
|
+
- config/locales/it.permissions.yml
|
192
193
|
- config/locales/it.thecore_auth_commons.yml
|
193
194
|
- db/migrate/20160208110805_devise_create_users.rb
|
194
195
|
- db/migrate/20160209152753_add_trackable_to_user.rb
|