mikras_utils 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/mkacl +2 -2
- data/lib/mikras_utils/mkacl.rb +1 -1
- data/lib/mikras_utils/version.rb +1 -1
- data/tests/acl.fox +5 -5
- data/tests/acl.spec +1 -1
- data/tests/app_portal-views.sql +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: 3a66c5d0dcdafd3fb71c101b1cb02d5acb3ebe464418c070ed98c9e192301a45
|
4
|
+
data.tar.gz: 6bf90eead1cf7fd35b8a5082bae1a68cc6aec3a8ef158f025d6f3643c49f0f8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8339a0a8a6f4180aa26b3f1430ce722d3f399d45b9875e59dfa0ace4086dcd9db82dc8b8b2c66596b52391e4140e0475bfb033b29470ee71cc2de000c138b0c1
|
7
|
+
data.tar.gz: 525550b69df7f1151f6f617c4cf9b9f5f034501cff135d2de268ed2d76c7e393f57b8aa3cf68f8e768d03dfd04669cea9c81536891c0c73b645f4e00493eeaf8
|
data/exe/mkacl
CHANGED
@@ -22,7 +22,7 @@ SPEC = %(
|
|
22
22
|
pollution)
|
23
23
|
|
24
24
|
ROLES
|
25
|
-
The following roles are recognized:
|
25
|
+
The following roles are recognized: RLA, LA, TA, KON, AKK, CLA, CTA, ELA,
|
26
26
|
and ETA
|
27
27
|
|
28
28
|
Sagsys also defines the ADM role that is excluded because it is now a RBAC
|
@@ -35,7 +35,7 @@ SPEC = %(
|
|
35
35
|
|
36
36
|
-g,generate=LIST
|
37
37
|
Generate only the given modules. LIST is a comma-separated list of
|
38
|
-
modules. The following modules are currently
|
38
|
+
modules. The following modules are currently available: id_functions,
|
39
39
|
insert_triggers, rules, acl_functions, and role_functions
|
40
40
|
|
41
41
|
-W,no-warn
|
data/lib/mikras_utils/mkacl.rb
CHANGED
data/lib/mikras_utils/version.rb
CHANGED
data/tests/acl.fox
CHANGED
@@ -35,7 +35,7 @@ cases
|
|
35
35
|
name: case3
|
36
36
|
|
37
37
|
role_kinds
|
38
|
-
- kind:
|
38
|
+
- kind: RLA
|
39
39
|
acl: true
|
40
40
|
ordinal: 1
|
41
41
|
- kind: LA
|
@@ -62,7 +62,7 @@ role_kinds
|
|
62
62
|
ordinal: 9
|
63
63
|
|
64
64
|
case_role_templates
|
65
|
-
- role:
|
65
|
+
- role: RLA
|
66
66
|
- role: LA
|
67
67
|
- role: TA
|
68
68
|
- role: CLA
|
@@ -73,7 +73,7 @@ case_role_templates
|
|
73
73
|
case_roles
|
74
74
|
- &case1_res
|
75
75
|
case: *case1
|
76
|
-
role:
|
76
|
+
role: RLA
|
77
77
|
- &case1_la
|
78
78
|
case: *case1
|
79
79
|
role: LA
|
@@ -95,7 +95,7 @@ case_roles
|
|
95
95
|
|
96
96
|
- &case2_res
|
97
97
|
case: *case2
|
98
|
-
role:
|
98
|
+
role: RLA
|
99
99
|
- &case2_la
|
100
100
|
case: *case2
|
101
101
|
role: LA
|
@@ -117,7 +117,7 @@ case_roles
|
|
117
117
|
|
118
118
|
- &case3_res
|
119
119
|
case: *case3
|
120
|
-
role:
|
120
|
+
role: RLA
|
121
121
|
- &case3_la
|
122
122
|
case: *case3
|
123
123
|
role: LA
|
data/tests/acl.spec
CHANGED
data/tests/app_portal-views.sql
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
set search_path to app_portal;
|
4
4
|
|
5
|
-
/*
|
6
5
|
|
7
6
|
-- Union of case_roles and event_roles
|
8
7
|
drop view if exists acl_portal.domain_roles cascade;
|
@@ -24,6 +23,7 @@ create view acl_portal.domain_roles as
|
|
24
23
|
app_portal.event_roles
|
25
24
|
;
|
26
25
|
|
26
|
+
/*
|
27
27
|
-- Union of case_role_users and event_users
|
28
28
|
drop view if exists acl_portal.domain_users cascade;
|
29
29
|
create view acl_portal.domain_users as
|