[FOLIO-1207] Refactor mod-auth-data role in folio-ansible Created: 17/Apr/18  Updated: 12/Nov/18  Resolved: 18/Apr/18

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P2
Reporter: Wayne Schneider Assignee: Wayne Schneider
Resolution: Done Votes: 0
Labels: ci, sprint36
Remaining Estimate: Not Specified
Time Spent: 6 hours
Original estimate: Not Specified

Sprint:

 Description   

Deprecate this role, build a new "create-tenant-admin" role that serves the single purpose of bootstrapping the admin user in the database.

Remove the auth_test1 and auth_test2 users and permission assignments – they have served their purpose...and they are breaking tests.

Admin user UUIDs need to be dynamically assigned to avoid ID collisions when running for multiple tenants.



 Comments   
Comment by John Malconian [ 17/Apr/18 ]

Couple of feature requests:

  • Make the role tenant agnostic with default 'tenant' = 'diku'.
  • Generate the necessary UUIDs randomly with: {{ 9999999999999999999999 | random | to_uuid }}
    I've tested this and it obeys the rules from mod-circulation that checks UUID validity every single time.
Generated at Thu Feb 08 23:11:36 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.