ms5770
February 20, 2019, 6:04pm
1
I would like to only allow CRUD operations for users with the admin role, but still allow authenticated users to view the data. How can I achieve this?
enchev
February 20, 2019, 6:33pm
2
You can enable add, delete, etc using the approach from this thread:
Is it possible to control the visibility on the columns on the datagrid based on the device type a user is accessing it from? The use case for me is that on mobile I would like to limit the amount of information shown about a record to say the Title, created date, and status. This would make it cleaner to view without excess scrolling. The full browser window could still show 8-10 columns.
For example:
${security.user.isInRole('admin')}