How to test Expire Authority requests
- Login as authorityAdmin/authorityAdmin
- Search for an entity and Grant EA via ‘Grant Authority – by Registrar’ to a user you can log in as
- Log in as the user you can log in with and ‘Grant Authority by Authorised User’ by entering an email
- Create a number of different requests for the same entity if you choose to
- After creation, they will be displayed in Manage Authority as ‘Authority invites awaiting activation’
Aging data in Compass
Note: Some databases structure are different, the following examples are out of the box examples.
- Start MongoDB Compass
- Select database from left menu > catalyst.ng_cluster_service_transactions
- Enter the one of the following filters changing the businessIdentifier and using the correct one based on if the entity is a business name or company
{rootDomainName: ‘Company’, businessIdentifier: ‘C00000000212′, status:’activated’}
{rootDomainName: ‘BusinessName’, businessIdentifier: ‘BN2019/8′, status:’activated’} - Scroll to the last instance and view the domaintree > authority > authorities >
> attributes > ExpiryDate - Update this to yesterday if expiring today
- Press UPDATE button
Reset filter by pressing the Reset button
Force Schedules to run
- Find schedule using the following filters, use the correct one based on the entity type:
{rootDomainName: ‘Schedule’, “domainTree.attributes.Identifier”: “companyExpireAwaitingActivationAuthority”}
{rootDomainName: ‘Schedule’, “domainTree.attributes.Identifier”: “businessNameExpireAwaitingActivationAuthority”} - View the domaintree > attributes > ExpiryDate > NextScheduledTime
- Update to today’s date and time 1-2 minutes in the future
- Wait for schedule to roll over
- The authority request will no longer show in the front end
- View the authority records in the database as per the first filter
- View the domaintree > authority > authorities >
> attributes > Status and the status will be updated to “expired” - Authority activation code can no longer be used by any user in ‘Accept Authority Invite’
0

