clonk 2.2.7 → 2.2.8
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/lib/clonk/client.rb +0 -13
- 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: 345fee63065f22a5ce4b822038e3095394320c05ee61432a8c373e83ff8ba9bd
|
4
|
+
data.tar.gz: 3605da78197ce04fa7066d877cdbb0aa5d3d9870a3cbdbc81671677065a9005d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30c1f0372a0914644ea3aa458ff91dd63d24b7555952321616810e01b10c27cb204148e51fdb6a2f2c7f68b3c773ed8d11ef6e23e981eb50f9b5a111da4b6d75
|
7
|
+
data.tar.gz: 75f414d54f460fc1ad1c9d93825232e49d7af483f2399853da890962850e36552360851dbe435899ca05dc1b22f92542a8cdadfa54608ae4b0323bfde7b96f9d
|
data/lib/clonk/client.rb
CHANGED
@@ -40,19 +40,6 @@ module Clonk
|
|
40
40
|
)
|
41
41
|
end
|
42
42
|
|
43
|
-
##
|
44
|
-
# Lists the client's permission IDs, if permissions are enabled.
|
45
|
-
# These will be returned as either a boolean (false) if disabled,
|
46
|
-
# or a hash of permission types and IDs.
|
47
|
-
# FIXME: Move to RHSSO so that permissions can actually be used!
|
48
|
-
# FIXME: Write test!
|
49
|
-
|
50
|
-
def permissions(client:)
|
51
|
-
parsed_response(
|
52
|
-
path: "#{url_for(client)}/management/permissions"
|
53
|
-
)['scopePermissions'] || false
|
54
|
-
end
|
55
|
-
|
56
43
|
##
|
57
44
|
# Enables or disables permissions for some object
|
58
45
|
# FIXME: Write test!
|