Skip to content

getAvailableLayouts ignores permissions of view methods #21

@iham

Description

@iham

this section completely ignores checks against user permission and given permission on the menuitem, no matter what permission the current user has.

even when trying to fix the code title = item and item.title or midhere will add the menuitem to the list.

instead

                if item is not None:
                    result.append((mid, item.title or mid))

should fix the problem once and for all ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions