Subprojects inherits parent projects members (can be disabled in Admin -> Settings -> Projects).
Eg. if B is a subproject of A, a user with a role on A will automatically have the same role on B. It can be overridden by assigning a different role manually to this user on B.