I am creating a module for a simple form submission. In admin, I am showing a table view of all entries. I have a specific member group "pitch" who can access only that module. In addition they can't access the "Export in CSV" functionality for listing. But super admin can do all things.
- How can I create a custom privilege for "pitch" member group so that they can't access "Export" button.
- OR hide button if "pitch" member login in CP
- How can we do this through module?
- Please provide a reference url or a piece of code.