Skip to content

Add Permission for AnyGetter #28

@solverat

Description

@solverat

Instead of throwing an exception we should make it configurable via permission:

if (!Admin::getCurrentUser()->isAdmin()) {
throw new \Exception('AnyGetter only allowed for admin users');
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions