-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a moderation interface #90
Conversation
This state is entered when the user has not previously been moderated or vetted by another user. The vetting process is peer based. It is possible to not be vetted and still be allowed to make a revision publication. This is a secondary form of vetting, which trusts the publishing application/party.
ALTER TABLE publications
ADD COLUMN created TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
ALTER TABLE publications
ALTER COLUMN epub DROP NOT NULL;
ALTER TYPE publication_states
ADD VALUE 'Waiting for moderation' AFTER 'Failed/Error';
ALTER TYPE publication_states
ADD VALUE 'Rejected' AFTER 'Waiting for moderation'; BTW, pyrseas didn't notice the type alternations, nor the dropped constraint. |
Depends on openstax/cnx-archive#302 |
Changes Unknown when pulling 3fd08f3 on moderation into * on master*. |
Drying out the cursor is good: I think it's on the way to making a publish event more transactional. |
Confirmed on Pyrseas 7.1 missing the enum diff and the drop of null constraint. |
Yeah, I'm not sure how I feel about what I did here. You'll notice that it does some fancy argument things. It may cause not be future proof, but then again, what really is? |
See also sprint 37 card.
This completes the interface and functionality for accepting/rejecting publications for first time publishers.