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

Apply politic to objects of different class going to excaption, but in posible in Go version #316

Closed
palich12 opened this issue Jun 6, 2023 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@palich12
Copy link

palich12 commented Jun 6, 2023

When I try use some politic for excluded attribute/ For example, if try apply ruses for list of different classes objects, end some objects haven't used fields, I get exaptation. But it is correctly situation for Go library.

@casbin-bot
Copy link
Member

@casbin-bot casbin-bot added the question Further information is requested label Jun 6, 2023
@sagilio
Copy link
Member

sagilio commented Jun 6, 2023

May I ask which version you are using in your project? Do you mean to pass some Object of the different class to the Enforce method?

@palich12
Copy link
Author

palich12 commented Jun 6, 2023

May I ask which version you are using in your project? Do you mean to pass some Object of the different class to the Enforce method?

I use 1.13.0 version. I get it when write in policy some field, that out of class of my objects

@sagilio
Copy link
Member

sagilio commented Jun 8, 2023

@palich12 Could you provide a sample or test case about this issue?

@hsluoyz
Copy link
Member

hsluoyz commented Apr 4, 2024

Closed as stale

@hsluoyz hsluoyz closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Development

No branches or pull requests

4 participants