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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3edb2b02216445f08fca3238457e20448bcb24c1dc27238ba4429dcc6814f25f
4
- data.tar.gz: e8265ca5326412c5a793f5f056f7908c8c1e0e08945f8e309cd2cbad5347bc2e
3
+ metadata.gz: 3a66c5d0dcdafd3fb71c101b1cb02d5acb3ebe464418c070ed98c9e192301a45
4
+ data.tar.gz: 6bf90eead1cf7fd35b8a5082bae1a68cc6aec3a8ef158f025d6f3643c49f0f8f
5
5
  SHA512:
6
- metadata.gz: 7eb69399a73f5a046b3ebcb9a356246ddf0b4dfbb72b13c141e2021d0f01750df3778a74c529e75e3e412925b4079038cdee7f767708410ee25e6ed14f48b1b4
7
- data.tar.gz: 1db226b915c8ac98a5efbcde084e50d7547763489f07dbf4e6ee7291adaa5d4d69bd1ba921233fc3cf51a0a9d8671de61f8cc12f1159a830a5461b01cde45363
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: RES, LA, TA, KON, AKK, CLA, CTA, ELA,
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 aavailable: id_functions,
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
@@ -9,7 +9,7 @@ require 'prick-inflector'
9
9
  module MkAcl
10
10
  class ParseError < RuntimeError; end
11
11
 
12
- ROLES = %w(LA TA KON AKK)
12
+ ROLES = %w(RLA LA TA KON AKK CLA CTA ELA ETA)
13
13
  end
14
14
 
15
15
  require_relative 'mkacl/spec.rb'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MikrasUtils
4
- VERSION = "0.1.1"
4
+ VERSION = "0.2.0"
5
5
  end
data/tests/acl.fox CHANGED
@@ -35,7 +35,7 @@ cases
35
35
  name: case3
36
36
 
37
37
  role_kinds
38
- - kind: RES
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: RES
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: RES
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: RES
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: RES
120
+ role: RLA
121
121
  - &case3_la
122
122
  case: *case3
123
123
  role: LA
data/tests/acl.spec CHANGED
@@ -16,7 +16,7 @@ cases:
16
16
  select: internal TA KON AKK
17
17
  update:
18
18
  - role: admin
19
- - role: RES CLA
19
+ - role: RLA CLA
20
20
  exclude: serial ident name
21
21
  delete: admin
22
22
 
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mikras_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen