As a user I shouldn't be asked to authenticate to DAM if media fields are not configured to use DAM assets.

Created on 13 May 2024, 11 months ago

Problem/Motivation

Acquia DAM once configured asks users to authenticate to DAM when they try to add media in media fields. While this holds valid for fields that are configured to use DAM assets but for fields which are only configured to use Non DAM Media assets like image or doc etc, it doesn't make sense to show the authorisation prompt even for the first time as it breaks the content creation journey.

Steps to reproduce

1. Install and Configure ACQUIA DAM module on the site and connect the site to DAM.
2. Create a content type with a media field and only use non DAM media types as target references for this field.
3. Try to create node of this content type and click on Add media button on node creation page.
4. You will be prompted to authenticate to DAM even though this field is not configured to use DAM assets.

Actual: User is prompted to authenticate to DAM.
Expected: User shouldn't be prompted for DAM authentication if field is not configured to use DAM assets.

Proposed resolution

First time prompt shouldn't be shown to users if fields are not configured to use DAM assets.

Remaining tasks

Tests

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

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