mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 18:42:00 -04:00
Don't allow submitters to review their own artwork
This commit is contained in:
parent
47973970b6
commit
f992da84ae
5 changed files with 53 additions and 33 deletions
|
@ -1,10 +1,11 @@
|
|||
CREATE TABLE `Benefits` (
|
||||
`UserId` int(10) unsigned NOT NULL,
|
||||
`CanAccessFeeds` tinyint(1) unsigned NOT NULL,
|
||||
`CanVote` tinyint(1) unsigned NOT NULL,
|
||||
`CanBulkDownload` tinyint(1) unsigned NOT NULL,
|
||||
`CanUploadArtwork` tinyint(1) unsigned NOT NULL,
|
||||
`CanReviewArtwork` tinyint(1) unsigned NOT NULL,
|
||||
`CanAccessFeeds` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
`CanVote` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
`CanBulkDownload` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
`CanUploadArtwork` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
`CanReviewArtwork` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
`CanReviewOwnArtwork` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`UserId`),
|
||||
KEY `idxBenefits` (`CanAccessFeeds`,`CanVote`,`CanBulkDownload`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue