Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrectly handled login redirect with access policy #299

Closed
aamplugin opened this issue Jul 10, 2023 · 0 comments
Closed

Incorrectly handled login redirect with access policy #299

aamplugin opened this issue Jul 10, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@aamplugin
Copy link
Owner

The following example of access policy does not work as expected:

{
    "Version": "1.0.0",
    "Dependency": {
        "wordpress": ">=6.0.1",
        "advanced-access-manager": ">=6.8.5"
    },
    "Param": [
        {
            "Key": "redirect:on:404",
            "Value": {
                "Type": "login"
            },
            "Condition": {
                "Equals": [
                    {
                        "(*bool)${USER.isAuthenticated}": false
                    }
                ]
            }
        }
    ]
}

Instead, it defaults to the default WordPress behavior.

@aamplugin aamplugin self-assigned this Jul 10, 2023
@aamplugin aamplugin added the bug label Jul 10, 2023
@aamplugin aamplugin added this to the AAM - 6.9.13 milestone Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant