Project

General

Profile

« Previous | Next » 

Revision 2577

Added by sgarg over 19 years ago

Added three new options for specifying the moderators, allowed submitters and submitters who are not allowed

View differences:

lib/metacat.properties
40 40

  
41 41
administrators=@administrators@
42 42

  
43
moderators=@moderators@
44

  
45
allowedSubmitters=@allowedSubmitters@
46

  
47
deniedSubmitters=@deniedSubmitters@
48

  
43 49
timedreplication=@timedreplication@
44 50

  
45 51
firsttimedreplication=@firsttimedreplication@
build.properties
69 69

  
70 70
# Administrator accounts, in a colon separated list
71 71
administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
72

  
73
# Moderator accounts, in a colon seperated list
74
moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
75

  
76
# Specify the list of users which should be allowed to submit documents. 
77
# If no value is specified, all users will be allowed to submit documents.
78
allowedSubmitters=
79

  
80
# Specify the list of users which should not be allowed to submit documents. 
81
# If no value is specified, all users will be allowed to submit documents.
82
deniedSubmitters=
83

  
build.xml
165 165
      <property name="name"                value="metacat"/>
166 166
      <property name="Name"                value="MetaCat"/>
167 167
      <property name="debugprefix"         value="${Name}:"/>
168
      <property name="release"             value="1.5.0"/>
168
      <property name="release"             value="1.6.0"/>
169 169
      <property name="replication-path"    value="/${context}/servlet/replication"/>
170 170
      <property name="harvester-registration-login-path" value="/${context}/harvesterRegistrationLogin"/>
171 171
      <property name="harvester-registration-path"       value="/${context}/harvesterRegistration"/>
......
299 299
      <filter token="defaultcontenttype" value="${defaultcontenttype}" />
300 300
      <filter token="debugprefix" value="${debugprefix}"/>
301 301
      <filter token="administrators" value="${administrators}"/>
302
      <filter token="moderators" value="${moderators}"/>
303
      <filter token="allowedSubmitters" value="${allowedSubmitters}"/>
304
      <filter token="deniedSubmitters" value="${deniedSubmitters}"/>
302 305

  
303 306
      <filter token="defaultStage" value="${defaultStage}"/>
304 307
      <filter token="defaultHeader" value="${defaultHeader}"/>

Also available in: Unified diff