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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 263bb14908b22a336b9afd160a1b644175b91ae479a7cb0865e0f861aead5483
4
- data.tar.gz: f39a6814b33f9ec7d2a433cf40a65a93e4965da7e641d57b192fa93e2f314219
3
+ metadata.gz: 105f8e337cc512ab898b70adc38e48489541da066d54fca8755139074f6ff813
4
+ data.tar.gz: 7290df581a3776477a8e3e8b235f37f5f806619c2a8ceb112821b22135c02e3e
5
5
  SHA512:
6
- metadata.gz: 2a35c318273c6c215b6a8244f8217a82c9d124958855698c57f6b831a54ef03706e273ff204f69edd5786b1c1ad4447247fe602d9d42b56606a75b6496271ff9
7
- data.tar.gz: 1140bf123dc77c7f8e3df4d67e9f9cb9a14787df3dda30b5cfdf472195ba50c9bdbcc517eee384b713ac85d684e86cf29d3ef41fca2cbfc1e0dfbdfd7871634f
6
+ metadata.gz: a869e6945527a4e30a2a51d4e0ed0b68f68651b4ed29b44bdeef1500f6b0ed7f21e285cce03cb74fa6eac7d71bd7a48f451b8fe810c2bbbdad6a696a5676bbea
7
+ data.tar.gz: ebda2a1433500aed43360bcabe0cf23dc423490bf652028b69ad015bbd2445a0253e03c2feb1c51c1934f8e4d398b38861ab16c0fd83eb623bb8917cc3ee4e57
data/README.md CHANGED
@@ -1,28 +1 @@
1
- # ThecoreAuthCommons
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: E-Mail
16
- username: Username
15
+ email: Email
17
16
  code: Code
18
17
  roles: Roles
19
18
  admin: Administrator?
20
- created_at: Created at
19
+ created_at: Creation Date
21
20
  locked: Locked?
22
- third_party: Third party?
21
+ third_party: Third Party?
23
22
  password: Password
24
- password_confirmation: Password confirmation
23
+ password_confirmation: Confirm Password
25
24
  role:
26
25
  users: Users
27
26
  name: Role
28
27
  permissions: Permissions
29
- created_at: Created at
30
- updated_at: 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: Section to manage users.
37
- role: Section to manage Roles
38
- permission: Section to manage Permissions
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
@@ -0,0 +1,10 @@
1
+ it:
2
+ permissions:
3
+ predicates:
4
+ can: Può
5
+ cannot: Non può
6
+ actions:
7
+ manage: Gestire
8
+ read: Leggere
9
+ update: Aggiornare
10
+ destroy: Eliminare
@@ -1,3 +1,3 @@
1
1
  module ThecoreAuthCommons
2
- VERSION = "3.1.4".freeze
2
+ VERSION = "3.1.5".freeze
3
3
  end
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
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-13 00:00:00.000000000 Z
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