apigee / apigee-devportal-kickstart-drupal

A fast demo and starting point for Apigee Developer Portals for Drupal
https://www.drupal.org/project/apigee_devportal_kickstart
GNU General Public License v2.0
26 stars 34 forks source link

Allow Admins Access to create Developer Apps for Private Products on behalf of other users #591

Open mhottinger1 opened 1 year ago

mhottinger1 commented 1 year ago

Is your feature request related to a problem?

There is currently no way for a Drupal site admin to add ‘Private’ products to an existing user’s Developer Apps. There are three different types of Product “Access” or “visibilities”, (eg Public, Private, Internal). When a Drupal admin attempts to edit a user (/user/${user}/apps/${appName}/edit) Private products don’t appear.

Describe the solution you'd like

The use case is for an administrator of the Drupal site to navigate to a given user and in their list of products both ‘Public’ and ‘Private’ should appear because the user is a Drupal Admin.

The behavior would still prevent an anonymous user and authenticated user from seeing ‘Private’ products. Only ‘Public’ products should appear for ordinary Drupal accounts.

Describe alternatives you've considered

Additional context

Screenshot of my API Product Access settings for reference: 7259BC72-244A-4862-9F71-AF079742EA61