mks_auth 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/mks/auth/user_roles_controller.rb +2 -4
- data/lib/mks/auth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5602816a7948f5b3390b642dedbf8dc830081c5926352ad8d660407e864b0dff
|
4
|
+
data.tar.gz: c6c50608575caa73ab94f648cd4172e81a1e1e0a43a3ddd8b663718a0f59ac0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38e66a61416e3d7d03bfda53e9886c7684f7711b3617ebbd6ae1f49ca1b5c596c1782c26710822aa18fd029594e1ff59d1832a976c47761ad0e916854dc5c29c
|
7
|
+
data.tar.gz: bef073d116ead22c0b8d5c053582c6b733663209a8f6182b8109d94c19f6b695ba45af3699fd70b9d5532c6048e2500d66bac3dab4848d485481b2225385d922
|
@@ -9,13 +9,11 @@ module Mks
|
|
9
9
|
user_roles = UserRole.joins(:application_module)
|
10
10
|
.where("mks_auth_application_modules.code = '#{app_code}'")
|
11
11
|
.order(:name)
|
12
|
-
|
13
|
-
render json: response
|
12
|
+
render json: user_roles
|
14
13
|
end
|
15
14
|
|
16
15
|
def users
|
17
|
-
|
18
|
-
render json: response
|
16
|
+
render json: @role.users
|
19
17
|
end
|
20
18
|
|
21
19
|
def assigned_roles
|
data/lib/mks/auth/version.rb
CHANGED