UML Use Case Diagram: The Trust Machine

Below is a UML Use-case diagram for the Trust Machine. It has three actors:

  • The Web Application
    • This describes a client web application; in the first instance, the Buccaneer Web App,
  • Web Application Moderators
    • These are privileged application users with a high trust rating. They are appointed by the client application and can resolve disputes, edit, add and delete content on the client application.
  • Web Application User.
    • An ordinary user of the client web application. In this diagram the web application user is a user of the application in the diagram.

A UML use case diagram for the Trust Machine

The Use Cases

  • Add User
    • When a new user is created in the client web application, in order to obtain trust ratings the client must add a new user for it in the Trust Machine. The trust machine user will then be part of a trust graph maintained by the trust machine application. When the user verifies themselves with an external provider, if users from other applications have verified with the same account the accounts merge and are recognised as the same user. Ratings from both clients then form the users overall ratings.
  • Get user reputation
    • This is an API call/part of an API call made by the web application in order to display a user profile. It retrieves a metric for the users global reputation
  • Get User/User rating
  • Retrieve a trust rating for a specific user on behalf of another user. This rating will be a combination of direct interaction and the trust network relationship between the two users
  • View T&Cs and Accept T&Cs
    • A client application forming a relationship with the Trust Machine, and a User Authorising access to social media accounts will need to view and accept the terms and conditions
  • Authenticate
    • Interactions with the trust machine can only be by Authenticated users
  • Sign Up
    • A user application will need to create an account with the Trust Machine. This will be done in the presence of a trust Machine representative
  • Authorise Sign Up
    • A trust machine representative will be physically present during sign-up and will authorise the account creation during this process
  • Authorise/de-authorise Social media Account access
    • A user of the client application authorises the Trust Machine to access their account data. There is a strict 1:1 relationship between
  • Add rating
    • A client application user rates a transaction with another user
  • Update/delete
    • Ratings can be changed/Deleted by moderators
  • Generate Trust \Report
    • A moderator can generate a report containing details of a user’s transactions and ratings, explaining the provenance of their trust scores

Leave a Reply