I want to provide access of this activity only those roles which I want. I have successfully got how to do this. But that Activity showing on homepage for both anonymous as well those users roles which I have not assign. They don't have permission to access this activity but I want that they can't see if we have not assign them to access the activity.
Please help. How can I do this.