inspirehep.modules.editor package¶
Submodules¶
inspirehep.modules.editor.api module¶
Editor api views.
Run authorlist on a piece of text.
-
inspirehep.modules.editor.api.
check_permission
(endpoint, pid_value, **kwargs)[source]¶ Check if logged in user has permission to open the given record.
Used by record-editor on startup.
-
inspirehep.modules.editor.api.
create_rt_ticket
(endpoint, pid_value, **kwargs)[source]¶ View to create an rt ticket
-
inspirehep.modules.editor.api.
get_revision
(endpoint, pid_value, **kwargs)[source]¶ Get the revision of given record (uuid)
-
inspirehep.modules.editor.api.
get_revisions
(endpoint, pid_value, **kwargs)[source]¶ Get revisions of given record
-
inspirehep.modules.editor.api.
get_tickets_for_record
(endpoint, pid_value, **kwargs)[source]¶ View to get rt ticket belongs to given record
-
inspirehep.modules.editor.api.
manual_merge
(*args, **kw)[source]¶ Start a manual merge workflow on two records.
Todo
The following two assertions must be replaced with proper access control checks, as currently any curator who has access to the editor API can merge any two records, even if they are not among those who can see or edit them.
-
inspirehep.modules.editor.api.
refextract_text
(*args, **kw)[source]¶ Run refextract on a piece of text.
-
inspirehep.modules.editor.api.
resolve_rt_ticket
(endpoint, pid_value, **kwargs)[source]¶ View to resolve an rt ticket
inspirehep.modules.editor.bundles module¶
Bundle definition for record editor.
inspirehep.modules.editor.permissions module¶
inspirehep.modules.editor.views module¶
Invenio module for editing JSON records.
Module contents¶
INSPIRE editor.