MDPermission
public enum MDPermission : String, Codable
Permissions returned by the MangaDex API in token information
TODO: This list might not be accurate as it is not described in the API documentation
-
The logged-in user is allowed to view mangas
Declaration
Swift
case viewManga = "manga.view"
-
The logged-in user is allowed to view chapters
Declaration
Swift
case viewChapter = "chapter.view"
-
The logged-in user is allowed to view authors
Declaration
Swift
case viewAuthor = "author.view"
-
The logged-in user is allowed to view scanlation groups
Declaration
Swift
case viewScanlationGroup = "scanlation_group.view"
-
The logged-in user is allowed to view user information
Declaration
Swift
case viewUser = "user.view"
-
The logged-in user is allowed to view covers
Declaration
Swift
case viewCover = "cover.view"
-
The logged-in user is allowed to list mangas
Declaration
Swift
case listMangas = "manga.list"
-
The logged-in user is allowed to list chapters
Declaration
Swift
case listChapters = "chapter.list"
-
The logged-in user is allowed to list authors
Declaration
Swift
case listAuthors = "author.list"
-
The logged-in user is allowed to list scanlation groups
Declaration
Swift
case listScanlationGroups = "scanlation_group.list"
-
The logged-in user is allowed to list users
Declaration
Swift
case listUsers = "user.list"
-
The logged-in user is allowed to list covers
Declaration
Swift
case listCovers = "cover.list"
-
The logged-in user is allowed to create mangas
Declaration
Swift
case createManga = "manga.create"
-
The logged-in user is allowed to upload chapters
Declaration
Swift
case uploadChapter = "chapter.upload"
-
The logged-in user is allowed to upload chapters in the name of a group
Declaration
Swift
case groupUploadChapter = "group_self.upload"
-
The logged-in user is allowed to upload chapters
Declaration
Swift
case remoteUploadChapter = "chapter.remote_upload"
-
The logged-in user is allowed to upload covers
Declaration
Swift
case uploadCover = "cover.upload"
-
The logged-in user is allowed to create authors
Declaration
Swift
case createAuthor = "author.create"
-
The logged-in user is allowed to create scanlation groups
Declaration
Swift
case createScanlationGroup = "scanlation_group.create"
-
The logged-in user is allowed to create users
Declaration
Swift
case createUser = "user.create"
-
The logged-in user is allowed to delete mangas
Declaration
Swift
case deleteManga = "manga.delete"
-
The logged-in user is allowed to delete chapters
Declaration
Swift
case deleteChapter = "chapter.delete"
-
The logged-in user is allowed to delete authors
Declaration
Swift
case deleteAuthor = "author.delete"
-
The logged-in user is allowed to delete scanlation groups
Declaration
Swift
case deleteScanlationGroup = "scanlation_group.delete"
-
The logged-in user is allowed to delete users
Declaration
Swift
case deleteUser = "user.delete"
-
The logged-in user is allowed to delete covers
Declaration
Swift
case deleteCover = "cover.delete"
-
The logged-in user is allowed to update mangas
Declaration
Swift
case editManga = "manga.update"
-
The logged-in user is allowed to update chapters
Declaration
Swift
case editChapter = "chapter.update"
-
The logged-in user is allowed to update authors
Declaration
Swift
case editAuthor = "author.update"
-
The logged-in user is allowed to update scanlation groups
Declaration
Swift
case editScanlationGroup = "scanlation_group.update"
-
The logged-in user is allowed to update users
Declaration
Swift
case editUser = "user.update"
-
The logged-in user is allowed to update covers
Declaration
Swift
case coverUser = "cover.update"