keycloak-admin 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Dockerfile +2 -2
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/keycloak-admin/client/role_mapper_client.rb +7 -0
- data/lib/keycloak-admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 045fe9f1da5f6db7c4c4fdf81292c622af6bf30150f0067f0c16266d73cd2aad
|
|
4
|
+
data.tar.gz: 9124de4d0394b9a657365c622ee6a1142b060e22bf0730ce26cdeea3a9dba1d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aab469430cbf4c63028dfe6d0ea0ddb1a809b88c285b43a2449a3b14f8667147b210590fcb28783fe228fa5b12a6326389354e35a102b1438f155461b7e048da
|
|
7
|
+
data.tar.gz: 4072fcb6f9cfa4c7cd169bd78534eb774e1644a58690341ea5fa9abcf1003245d93a732bab1d32ced9b193f8765acb3f9fbb321943a40d41a0362a76a19057f5
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.15] - 2022-05-23
|
|
9
|
+
|
|
10
|
+
* Delete all "realm" roles mapped to a user
|
|
11
|
+
|
|
8
12
|
## [1.0.14] - 2022-03-30
|
|
9
13
|
|
|
10
14
|
* Update `Gemfile.lock` to avoid wrong CVE detections. The version of Rails should always be specified by the parent project. This change has no functional impact.
|
data/Dockerfile
CHANGED
|
@@ -8,6 +8,6 @@ COPY Gemfile /usr/src/app/
|
|
|
8
8
|
COPY Gemfile.lock /usr/src/app/
|
|
9
9
|
COPY keycloak-admin.gemspec /usr/src/app/
|
|
10
10
|
COPY lib/keycloak-admin/version.rb /usr/src/app/lib/keycloak-admin/
|
|
11
|
-
|
|
11
|
+
RUN bundle install
|
|
12
12
|
COPY . /usr/src/app
|
|
13
|
-
|
|
13
|
+
RUN bundle install
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -13,6 +13,13 @@ module KeycloakAdmin
|
|
|
13
13
|
end
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
def remove_all_realm_roles
|
|
17
|
+
execute_http do
|
|
18
|
+
RestClient::Resource.new(realm_level_url, @configuration.rest_client_options).delete(headers)
|
|
19
|
+
end
|
|
20
|
+
true
|
|
21
|
+
end
|
|
22
|
+
|
|
16
23
|
def realm_level_url
|
|
17
24
|
"#{@user_resource.resource_url}/role-mappings/realm"
|
|
18
25
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: keycloak-admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lorent Lempereur
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http-cookie
|