Skip to content

Commit

Permalink
[#468] Change namespaces for TokenAuthConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmursa-dev committed Dec 11, 2024
1 parent c00257d commit 709b5c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docker/setup_configuration/data.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
objects_tokens_config_enable: true
objects_tokens:
token_tokenauth_config_enable: true
token_tokenauth:
items:
- identifier: token-1
token: 18b2b74ef994314b84021d47b9422e82b685d82f
Expand All @@ -25,3 +25,4 @@ objecttypes:
- uuid: b427ef84-189d-43aa-9efd-7bb2c459e281
name: Object Type 1
service_identifier: objecttypen-test

4 changes: 2 additions & 2 deletions src/objects/setup_configuration/steps/token_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class TokenAuthConfigurationStep(
Configure tokens for other applications to access Objects API
"""

namespace = "objects_tokens"
enable_setting = "objects_tokens_config_enable"
namespace = "token_tokenauth"
enable_setting = "token_tokenauth_config_enable"

verbose_name = "Configuration to set up authentication tokens for objects"
config_model = TokenAuthGroupConfigurationModel
Expand Down

0 comments on commit 709b5c1

Please sign in to comment.