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

Field authorization not working #73

Open
suleymanozev opened this issue Mar 25, 2022 · 1 comment · May be fixed by #74
Open

Field authorization not working #73

suleymanozev opened this issue Mar 25, 2022 · 1 comment · May be fixed by #74

Comments

@suleymanozev
Copy link

Below code not working in ConditionalContainer

    Text::make('Test')->canSee(function (NovaRequest $request) {
        return $request->user()->hasAnyRole('SUPER_ADMIN');
    }),
suleymanozev pushed a commit to suleymanozev/conditional-container that referenced this issue Mar 26, 2022
@suleymanozev suleymanozev linked a pull request Mar 26, 2022 that will close this issue
@suleymanozev
Copy link
Author

@milewski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant