decidim-participatory_processes 0.12.0 → 0.12.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55c693613bddb97d3c10d2a5c68240c477431f385d2668d110348428977779de
|
4
|
+
data.tar.gz: 4e1846511f7cd8c90904595eaf957c5b4b5b05903a3cf60f030f578d6860e41c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d80a800e6b639331b41d00c8513b2819b31fcc21971beab9b980e5f5c6c0556bc81350eab512a645dc44232f96e9cdc50a2c94a0a9ba2d258129a4a00dadcd9
|
7
|
+
data.tar.gz: 427247b3834a1892d29c3ebb468b1da2c59fab264ebda8f5f40f8df6730aee404e7814e50023c9720b0d9251d07eee4e0bf5d0d6f3ccea0c3ef7d24fb02c8b3a
|
@@ -9,6 +9,11 @@ module Decidim
|
|
9
9
|
|
10
10
|
return permission_action if process && !process.is_a?(Decidim::ParticipatoryProcess)
|
11
11
|
|
12
|
+
if read_admin_dashboard_action?
|
13
|
+
user_can_read_admin_dashboard?
|
14
|
+
return permission_action
|
15
|
+
end
|
16
|
+
|
12
17
|
if permission_action.scope == :public
|
13
18
|
public_list_processes_action?
|
14
19
|
public_list_process_groups_action?
|
@@ -27,11 +32,6 @@ module Decidim
|
|
27
32
|
|
28
33
|
valid_process_group_action?
|
29
34
|
|
30
|
-
if read_admin_dashboard_action?
|
31
|
-
user_can_read_admin_dashboard?
|
32
|
-
return permission_action
|
33
|
-
end
|
34
|
-
|
35
35
|
user_can_read_process_list?
|
36
36
|
user_can_read_current_process?
|
37
37
|
user_can_create_process?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-participatory_processes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-06-
|
13
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,42 +18,42 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.12.
|
21
|
+
version: 0.12.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.12.
|
28
|
+
version: 0.12.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-admin
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.12.
|
35
|
+
version: 0.12.1
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.12.
|
42
|
+
version: 0.12.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-dev
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.12.
|
49
|
+
version: 0.12.1
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.12.
|
56
|
+
version: 0.12.1
|
57
57
|
description: Participatory processes component for decidim.
|
58
58
|
email:
|
59
59
|
- josepjaume@gmail.com
|