[Backend] Fix the bug in member_role policy

Fix the error in the member role policy link. See how role includes the value <no value>; I wonder if this literal is passed from the JWT claim? If not, if it is passed as empty, we likely just need a conditional on the policy to remove it if the claim is fully empty.

Screenshot 2025-08-13 at 2.03.03 PM.png

Edited by 🤖 GitLab Bot 🤖