Open Comoque1 opened 2 days ago
@Comoque1 can you please check the same flow when inviting to a public space? I cannot see how the logic is specific to a subspace, unless an error is thrown during the actual assignment.
@Comoque1 scenario to reproduce is I think simpler: invite an external user, get the user to sign up (without accepting invitation), the user's agent does not have credential rules. So it is something with the registration process...
@comoque please test again after 4678 has been merged
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Go to https://acc-alkem.io/release-03-08-23-hub-cont/challenges/release-03-08-23-cha-8670/settings/community
Invite external user as admin to a private subspace from a private space
In alkemio db take a note of the number of auth policies with type agent that don't have credential rules
SELECT * FROM alkemio.authorization_policy where credentialRules = '' and type = 'agent';
Using the invited user register
After the user registers, accept the invitation
Check the auth policies:
SELECT * FROM alkemio.authorization_policy where credentialRules = '' and type = 'agent';
- number is increase by 1Expected behavior Credential rules are set to registered external users invited as admin to private subspace from private space.