VATSIM-UK/ukts

[BE] User - Can have solo endorsement

Closed this issue · 0 comments

AxonC commented

Description:

A user can have a solo endorsement granted to them. At this stage of development, this should be a simple relationship with a user and a position. By default, the endorsement should last 30 days.

A requirement from .NET is that the solo endorsements granted by a division should be visible somewhere on the website, so a query is required.

When a rating check fails for a user, the check should see if a Solo Endorsement has been granted to a user on the position the user is trying to book; ensuring they can still make bookings for a position they have a solo endorsement on, despite the rating check not being met.

Acceptance Criteria / Requirements:

AC1: Solo endorsement can exist against a position/user
AC2: Solo endorsements last 30 days from the day they were granted
AC3: Bookings should be allowed when an endorsement is granted on the given position.
AC4: Should be able to query all active solo endorsements for audit purposes

Additional context: