| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using System.Text; |
| | 4 | |
|
| | 5 | | namespace MUNity.Schema.Simulation |
| | 6 | | { |
| | 7 | | /// <summary> |
| | 8 | | /// The Auth Schema sent by the API when given a token. |
| | 9 | | /// </summary> |
| | 10 | | public class SimulationAuthDto |
| | 11 | | { |
| | 12 | | /// <summary> |
| | 13 | | /// The internal user id used to identify the user inside the simulation. |
| | 14 | | /// </summary> |
| 0 | 15 | | public int SimulationUserId { get; set; } |
| | 16 | |
|
| | 17 | | /// <summary> |
| | 18 | | /// Can the user create a new role. This is mostly used by now to identify if the user is an administrator. |
| | 19 | | /// </summary> |
| 0 | 20 | | public bool CanCreateRole { get; set; } |
| | 21 | |
|
| | 22 | | /// <summary> |
| | 23 | | /// Can the user select a role on his/her own. |
| | 24 | | /// </summary> |
| 0 | 25 | | public bool CanSelectRole { get; set; } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Can the user edit the resolution that is linked to this simulation. |
| | 29 | | /// </summary> |
| 0 | 30 | | public bool CanEditResolution { get; set; } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Can the user edit the list of speakers that is linked to this simulation. |
| | 34 | | /// </summary> |
| 0 | 35 | | public bool CanEditListOfSpeakers { get; set; } |
| | 36 | | } |
| | 37 | | } |