function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

If a user is not added in public group.

My question is that if a user is not added to add a public group, but higherin role that one of the user added in the group, will he be able to view the report accessible to that public group. 

Also what data will be visible to all public group users if there role is difft, be the same data or different data be visible. 

AbhishekAbhishek (Salesforce Developers) 

It completely depends user permissions and profiles permissions.

We can customize it based on the requirement.

For your reference,

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.