Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Remove hard coded in who you can share query with .. #1

Open
dprosper opened this issue Mar 7, 2019 · 0 comments
Open

Remove hard coded in who you can share query with .. #1

dprosper opened this issue Mar 7, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dprosper
Copy link
Member

dprosper commented Mar 7, 2019

When you create a query, you have the ability to share the query with other users. Currently the names that appear in the drop down for sharing is hard coded to 4 names:

image

This enhancement would be to add an agent to the dqlexplorer.nsf (like was done for the getdatabases agent) or a page (like was done for the getuser page) , that will get a list of all individuals in the ACL for dqlexplorer.nsf and return a json object to the app in the form of

  {
    "key": 1,
    "imageInitials": "AM",
    "text": "Andrew Manby",
    "secondaryText": "Director, Product Management",
    "tertiaryText": "CN=Andrew Manby/O=MyOrg"
  },
  {
    "key": 2,
    "imageInitial"s: "DP",
    "text": "Dimitri Prosper",
    "secondaryText": "Developer",
    "tertiaryText": "CN=Dimitri Prosper/O=MyOrg"
  },
  {
    "key": 3,
    "imageInitials": "LG",
    "text": "Luis Guirigay",
    "secondaryText": "Technical Leader",
    "tertiaryText": "CN=Luis Guirigay/O=MyOrg"
  },
  {
    "key": 4,
    "imageInitials": "SG",
    "text": "Scott Good",
    "secondaryText": "Designer",
    "tertiaryText": "CN=Scott Good/O=MyOrg"
  }

This object can then be used in the src/components/querybuilder/PeoplePicker.js component to make the names available in the above drop down.

@dprosper dprosper added enhancement New feature or request help wanted Extra attention is needed labels Mar 7, 2019
@dprosper dprosper changed the title Remove hard coded in who can share query with .. Remove hard coded in who you can share query with .. Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant