Skip to content

bug in AnnotationsShiroAuthorizationStrategy implementation #236

Open
@shuraa

Description

@shuraa

There is a typo in the AnnotationsShiroAuthorizationStrategy#isActionAuthorized method, that affectes checking for RENDER and ENABLE actions of an component's configuration phase.

ShiroSecurityConstraint fail = checkInvalidInstantiation(  findShiroSecurityConstraintAnnotations(componentClassAnnotations), ShiroAction.INSTANTIATE);

but shoud be

ShiroSecurityConstraint fail = checkInvalidInstantiation(findShiroSecurityConstraintAnnotations(componentClassAnnotations), _action);

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