Disconnecting Acquia DAM and then changing the DAM domain allows users to still browse Old DAM assets.

Created on 6 May 2024, 11 months ago

Problem/Motivation

Currently once Acquia DAM has been connected and users have been authenticated, their tokens are saved in users_data table. If a site admin clicks on Disconnect DAM and afterwards changes the DAM domain to a different one, the user data for acquia_dam is not cleared and users are still able to connect to old DAM domain.

Steps to reproduce

  • Once DAM is connected and users have been using DAM in content creation, admin clicks on Disconnect Site button.
  • After disconnecting the site from DAM, change the DAM domain to a different valid URL.
  • Expected result: Users already authenticated to use DAM assets should be prompted to authenticate to new DAM.
  • Actual result: Users previously authenticated to use old DAM are still able to use Old DAM and are not prompted to re-authenticate to new DAM. Also any new users authenticating will be using new DAM.

Proposed resolution

Clear the users data on disconnecting DAM.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India amangrover90

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024