soar-authentication-identity_uuid_translator 1.0.2 → 1.0.3

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
  SHA1:
3
- metadata.gz: b81da890ea14c8b063a8c221a6a75f78a054839f
4
- data.tar.gz: fa1e161aec84c776c352d0cf9b0636530251d59b
3
+ metadata.gz: ad31c2ba0758930b4216021ccf55279f0c276d38
4
+ data.tar.gz: 5e0cbcb60fa6e0d87b8cb7b919f443541be544ab
5
5
  SHA512:
6
- metadata.gz: 9a66350e724c4dffb846645d1f913b273a4f71bef24ddfcfde0087ec939f152e2a0729b5b3490be90ed2121515cc2eb7db31c7cd6b5d7b050a9ddc85152a2122
7
- data.tar.gz: cc4a45f842d9c5d8f823d74afd3a8bc79660eaeb382010e683cb310cd6342c0d40a27cc403a76a36e6d54d87864a083428e95f5c979713a93d8f660f5391091e
6
+ metadata.gz: ebe9e7fd20daea4f936af51e9499e9d053b304effba39f50944a943f5a646f3c14e0943adbe0e6b60c2f35c01c3a20a3f96f94ceaf20e07a781b08f02681068b
7
+ data.tar.gz: 6f0903ab2cd8fbd4cf863e8a2d640cd01f4bfd50dc241e14b6d1ae7286268c799f6080b3596ec26599d059588e7d4e602b04309792f2e7317501dede9b67f2e9
data/.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "soar-authentication-identity_uuid_translator"
3
- spec.version = "1.0.2"
3
+ spec.version = "1.0.3"
4
4
  spec.authors = ["Charles Mulder"]
5
5
  spec.email = ["charles.mulder@hetzner.co.za"]
6
6
 
@@ -7,7 +7,7 @@ module Soar
7
7
  module Provider
8
8
  class Customer
9
9
 
10
- ROLE = "customer_account_administrator"
10
+ ROLE = "customer_profile_administrator"
11
11
  PREFIX = "genie:client:id:"
12
12
 
13
13
  ##
@@ -30,7 +30,9 @@ module Soar
30
30
  @role_generator.generate({
31
31
  "identity_uuid" => uuid,
32
32
  "identity_role" => ROLE,
33
- "identity_role_attributes" => [client_number].compact
33
+ "identity_role_attributes" => {
34
+ "profiles" => [client_number].compact
35
+ }
34
36
  }) if not @role_generator.nil?
35
37
  return @uuid
36
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar-authentication-identity_uuid_translator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Mulder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-01 00:00:00.000000000 Z
11
+ date: 2017-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: soar-registry-identity