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

Fix Category not respecting is_visible and is_accessible #698

Merged
merged 4 commits into from
Feb 18, 2024

Conversation

Neverfan1
Copy link
Contributor

FIx:
1)It is necessary to add a check for displaying models in categories for which is_visible or is_accessible are equal to False. Because now they are displayed in any case, even if there are no rights.
2) if there are no models in the category for which is_visible and is_accessible are equal to True, then the category does not need to be shown.

Neverfan1 and others added 2 commits January 17, 2024 20:13
FIx:
1)It is necessary to add a check for displaying models in categories for which is_visible or is_accessible are equal to False. Because now they are displayed in any case, even if there are no rights.
2)  if there are no models in the category for which is_visible and is_accessible are equal to True, then the category does not need to be shown.
@Neverfan1
Copy link
Contributor Author

Hello, my friend)
PR ready to be merged

@Neverfan1
Copy link
Contributor Author

Hello @aminalaee
Please check the code. I really need my PR approved

@aminalaee aminalaee changed the title fix bug using categories Fix Category not respecting is_visible and is_accessible Feb 18, 2024
Copy link
Owner

@aminalaee aminalaee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@aminalaee aminalaee merged commit f797bf1 into aminalaee:main Feb 18, 2024
7 checks passed
@aminalaee aminalaee mentioned this pull request Feb 20, 2024
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 this pull request may close these issues.

2 participants