
Explanation:
Box 1: Assign User1 Build permissions for the HR dataset.
More granular permissions
Power BI provides the Build permission as a complement to the existing permissions, Read and Reshare. All users who already had Read permission for datasets via app permissions, sharing, or workspace access at that time also got Build permission for those same datasets. They got Build permission automatically because Read permission already granted them the right to build new content on top of the dataset, by using Analyze in Excel or Export.
Box 2: Assign Users the Contributor role for WorkspaceB
Contributor can publish reports to the workspace, delete ontent.
Contributor cannot add members to a workspace.
Reference:
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-roles-new-workspaces