Minor fix
Authentication controller now returns user role
Moved Enums to Models project
Renamed PLAINTEXT format Enum to TEXTFILE
Moved InternalServerError to ControllerBase
Move Authorize attribute up in DocumentController
Use ContextUtils in AuthorizationAttribute
Added ERole check to [Authorize] attribute
[Authorize] has ERole.ANNOTATOR as default, ERole can be specified as a parameter
Documents to add expected in base64
Documents sent in the request are all in base64 and have enum to specify either TXT file or a ZIP file
Added default value to Annotation.Note
Zobrazit revize
Také k dispozici: Atom