thecore_auth_commons 3.5.8 → 3.5.10
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39f2cb5668bc11369267ca6b32ac670471a818385e95c17444174ca28b50cfa4
|
|
4
|
+
data.tar.gz: 1571d704b2a3cd179263c4975bf5a4b8aa41b1848be48310044ead5453fe3043
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3971e2c5a13789d707cf7604fc7bd12bfbe70eb968c4dd30eafb0162912ad5048b571de22ec028688f7d0731d9d390fbb4c072a713ffcaa691c272f959c663cb
|
|
7
|
+
data.tar.gz: 52715047b97a6dd859a5957c1265f3acabeed7ade11f019429c96c93824c0bf7c88030253c3203f869e55e890fdc29b2d50f54f39e8c51e01c5982cd081726dd
|
|
@@ -16,7 +16,7 @@ class Users::SessionsController < Devise::SessionsController
|
|
|
16
16
|
if user
|
|
17
17
|
sign_in_and_redirect(user)
|
|
18
18
|
else
|
|
19
|
-
set_flash_message!(:alert, :invalid)
|
|
19
|
+
set_flash_message!(:alert, :invalid, authentication_keys: resource_class.authentication_keys.join(", "))
|
|
20
20
|
|
|
21
21
|
self.resource = resource_class.new(sign_in_params)
|
|
22
22
|
clean_up_passwords(resource)
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
en:
|
|
2
2
|
devise:
|
|
3
3
|
sessions:
|
|
4
|
-
invalid: "
|
|
4
|
+
invalid: "Invalid credentials or password."
|
|
5
5
|
user:
|
|
6
|
-
invalid: "
|
|
6
|
+
invalid: "Invalid credentials or password."
|
|
7
7
|
error:
|
|
8
8
|
messages:
|
|
9
9
|
password_requires_letters_and_numbers: "must contain at least one letter and one number"
|
|
10
10
|
password_requires_special_characters: "must contain at least one special character"
|
|
11
11
|
validation:
|
|
12
12
|
errors:
|
|
13
|
-
password_and_confirm_must_be_the_same: "passwords must
|
|
13
|
+
password_and_confirm_must_be_the_same: "passwords must match"
|
|
14
14
|
password_must_contain_uppercase_lowercase_number_special_character: "must contain at least one uppercase letter, one lowercase letter, one number and one special character"
|
|
15
15
|
cannot_unadmin_last_admin: "at least one user must be an administrator"
|
|
16
|
-
cannot_unlock_last_admin: "at least one user must
|
|
16
|
+
cannot_unlock_last_admin: "at least one user must remain unlocked"
|
|
17
17
|
cannot_delete_last_admin: "at least one user must be an administrator"
|
|
18
18
|
cannot_delete_last_role: "at least one role must exist"
|
|
19
19
|
activerecord:
|
|
20
20
|
models:
|
|
21
|
+
ldap_server:
|
|
22
|
+
one: LDAP Server
|
|
23
|
+
other: LDAP Servers
|
|
21
24
|
user:
|
|
22
25
|
one: User
|
|
23
26
|
other: Users
|
|
@@ -28,30 +31,40 @@ en:
|
|
|
28
31
|
one: Permission
|
|
29
32
|
other: Permissions
|
|
30
33
|
attributes:
|
|
34
|
+
ldap_server:
|
|
35
|
+
host: Host
|
|
36
|
+
port: Port
|
|
37
|
+
base_dn: Base DN
|
|
38
|
+
admin_user: Admin User
|
|
39
|
+
admin_password: Admin Password
|
|
40
|
+
priority: Priority
|
|
41
|
+
use_ssl: Use SSL?
|
|
42
|
+
auth_field: Authentication Field
|
|
31
43
|
user:
|
|
32
44
|
email: Email
|
|
33
45
|
code: Code
|
|
34
46
|
roles: Roles
|
|
35
47
|
admin: Administrator?
|
|
36
|
-
created_at:
|
|
48
|
+
created_at: Created On
|
|
37
49
|
locked: Locked?
|
|
38
50
|
third_party: Third Party?
|
|
39
51
|
password: Password
|
|
40
52
|
password_confirmation: Confirm Password
|
|
53
|
+
auth_source: Authentication Source
|
|
41
54
|
role:
|
|
42
55
|
users: Users
|
|
43
56
|
name: Role
|
|
44
57
|
permissions: Permissions
|
|
45
|
-
created_at:
|
|
46
|
-
updated_at: Last
|
|
58
|
+
created_at: Created On
|
|
59
|
+
updated_at: Last Updated
|
|
47
60
|
permission:
|
|
48
61
|
predicate: Predicate
|
|
49
62
|
action: Action
|
|
50
63
|
model: Model
|
|
51
64
|
descriptions:
|
|
52
|
-
user: In this section
|
|
53
|
-
role: In this section
|
|
54
|
-
permission: The predicate defines whether it is a permission to
|
|
65
|
+
user: In this section you can search and filter the list of users, or sort it by various fields.
|
|
66
|
+
role: In this section you can create roles for the RBAC system managed by the abilities files, to define CRUD and other permissions.
|
|
67
|
+
permission: The predicate defines whether it is a permission to allow or deny an action; the action defines what can or cannot be done; the model defines the resource it applies to.
|
|
55
68
|
permissions:
|
|
56
69
|
predicates:
|
|
57
70
|
can: Can
|