Skip to content

set_approved_apps has no option to actually set these approved apps #2516

Description

@PeaceNlove

Describe the bug
From the docs
Control which apps members are allowed to access without a ‘Request for Permissions’ prompt. Approved web apps can optionally be made available to organization members in the App Launcher.
So this function should take a parameter to configure which apps users are allowed to use. Instead I only have the parameter block_unapproved: bool = False

The documentation says it's Online only, but it should work on Portal as well

To Reproduce
Steps to reproduce the behavior:

<insert your code here>

error:

<copy the full error message here>

Screenshots
If applicable, add screenshots to help explain your problem.

Expected behavior
I want to actually set the list of approved apps
So something like this

approved_apps = [] #then fill it
set_approved_apps(apps = approved_apps ,block_unapproved = False)

Platform (please complete the following information):

  • OS: Windows
  • Browser [e.g. chrome, safari]
  • Python API Version 2.4.2

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions