Skip to content

set_anonymous_access_notice enabled parameter is not documented #2523

Description

@PeaceNlove

Describe the bug
When I call set_anonymous_access_notice on the Securitysettings with a text and title only, the Notice will be disabled
there is an undocumented parameter enabled, when you set this to True it will enable the notice. However the official documentation doesn't mention this and instead says that when you set title or text to None, it will be disabled.

To Reproduce
Steps to reproduce the behavior:

title = "cool title"
text = "cool message"
buttons = "okOnly"
uxs = gis.admin.ux.security_settings
result = uxs.set_anonymous_access_notice(title = title, text=text, button_type=buttons)

error:

none

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

Expected behavior
The Notice should show my cool text and cool message, but the notice is never shown

Platform (please complete the following information):

  • OS: Windows
  • Python API Version 2.4.1

Additional context
Add any other context about the problem here, attachments etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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