You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Possibility that a user, managing enrollments, accidentally revokes their current enrollment. This would be super annoying and difficult, perhaps impossible to recover from.
Describe the solution you'd like
enroll:revoke throws an exception if the enrollment being revoked is the current connection's enrollment
add an extra parameter to allow the user (or app) to make the revoke request with some sort of "yes I know what I'm doing" flag e.g. 'force' or 'revokeself'
this flag could be added to EnrollParams
or we could modify the enroll verb syntax to allow enroll:revoke:revokeself:$enrollParamsJson or enroll:revoke:force:$enrollParamsJson
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
if enrollment being revoked is current connection enrollment
1.1 enroll:revoke:{"enrollmentId":"123"} - throw Exception
1.2 enroll:revoke:force:{"enrollmentId":"123"} - revoke the enrollment
if enrollment being revoked is some other client enrollment
2.1 enroll:revoke:{"enrollmentId":"123"} - revoke the enrollment
2.2 enroll:revoke:force:{"enrollmentId":"123"} - revoke the enrollment
Is your feature request related to a problem? Please describe.
Possibility that a user, managing enrollments, accidentally revokes their current enrollment. This would be super annoying and difficult, perhaps impossible to recover from.
Describe the solution you'd like
enroll:revoke:revokeself:$enrollParamsJson
orenroll:revoke:force:$enrollParamsJson
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: