We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If we have the following generator file:
filters: params: ... fields: ... product: credentials: 'hasRole("ROLE_ADMIN")'
FiltersType will be well generated (taking into account credentials), but templates and actions will not.
I could simply bypass this error putting the credentials on global fields definition.
But, is it possible to imagine that, for a filter, credentials could be different from related field?
I currently have a workaround solving the template issue. But I didnt' notice before how processFilters function is deeply linked to ListBuilder.
processFilters
Do you think this is a real issue we have to fix (just to know if I have to continue my fix)?
The text was updated successfully, but these errors were encountered:
@sescandell I can imagine that you may want:
field
I'm not sure right now, how we currently handle this (no time to check at the moment), but here is how I think it should work:
E.g.
Basic user -> editing Category can see (and edit): user_comment field Admin user -> editing Category can see (and edit): name, admin_comment fields
user_comment
name
admin_comment
And in this example I'd like
Basic user -> not be able to edit admin_comment and name, but be able to filter by them
Sorry, something went wrong.
You right.
I'll try to find a fix for that so,
No branches or pull requests
If we have the following generator file:
FiltersType will be well generated (taking into account credentials), but templates and actions will not.
I could simply bypass this error putting the credentials on global fields definition.
But, is it possible to imagine that, for a filter, credentials could be different from related field?
I currently have a workaround solving the template issue. But I didnt' notice before how
processFilters
function is deeply linked to ListBuilder.Do you think this is a real issue we have to fix (just to know if I have to continue my fix)?
The text was updated successfully, but these errors were encountered: