Skip to content

set_blocked_apps function has unused parameter for apps #2515

Description

@PeaceNlove

Describe the bug
You cannot set the blocked apps, the function has a parameter apps, but it is not used (I had a peek in your code;-) )
You can right now only use this function to block the beta apps

The documentation specifies it is for ArcGIS Online only, but it works on Portal 11.5 (where i tested) as well

To Reproduce
Steps to reproduce the behavior:

gis.admin.ux.security_settings
uxs.set_blocked_apps(True, apps=[])

error:

False

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

Expected behavior
I have blocked some apps on my Portal or Agol and expect with (True, apps=[]) that this list becomes empty and all apps are allowed. This doesn't happen and the list is with blocked apps is not changed

Platform (please complete the following information):

  • OS: Windows
  • Python API Version 2.4.2

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions