--- a/server/src/app/Libraries/CocoonUtils.php Fri Nov 27 17:59:36 2015 +0100
+++ b/server/src/app/Libraries/CocoonUtils.php Tue Dec 01 13:33:08 2015 +0100
@@ -3,6 +3,33 @@
class CocoonUtils {
+ const OLAC_ROLES = [
+ 'http://www.language-archives.org/OLAC/1.1/annotator',
+ 'http://www.language-archives.org/OLAC/1.1/author',
+ 'http://www.language-archives.org/OLAC/1.1/compiler',
+ 'http://www.language-archives.org/OLAC/1.1/consultant',
+ 'http://www.language-archives.org/OLAC/1.1/data_inputter',
+ 'http://www.language-archives.org/OLAC/1.1/depositor',
+ 'http://www.language-archives.org/OLAC/1.1/developer',
+ 'http://www.language-archives.org/OLAC/1.1/editor',
+ 'http://www.language-archives.org/OLAC/1.1/illustrator',
+ 'http://www.language-archives.org/OLAC/1.1/interpreter',
+ 'http://www.language-archives.org/OLAC/1.1/interviewer',
+ 'http://www.language-archives.org/OLAC/1.1/participant',
+ 'http://www.language-archives.org/OLAC/1.1/performer',
+ 'http://www.language-archives.org/OLAC/1.1/photographer',
+ 'http://www.language-archives.org/OLAC/1.1/recorder',
+ 'http://www.language-archives.org/OLAC/1.1/researcher',
+ 'http://www.language-archives.org/OLAC/1.1/research_participant',
+ 'http://www.language-archives.org/OLAC/1.1/responder',
+ 'http://www.language-archives.org/OLAC/1.1/signer',
+ 'http://www.language-archives.org/OLAC/1.1/singer',
+ 'http://www.language-archives.org/OLAC/1.1/speaker',
+ 'http://www.language-archives.org/OLAC/1.1/sponsor',
+ 'http://www.language-archives.org/OLAC/1.1/transcriber',
+ 'http://www.language-archives.org/OLAC/1.1/translator',
+ ];
+
/**
* Extract id form cocoon url.
*