#448: BibDocFile embargo rules are not working
------------------------+--------------------------------
  Reporter:  skaplun    |      Owner:  skaplun
      Type:  defect     |     Status:  closed
  Priority:  blocker    |  Milestone:  v1.0
 Component:  WebSubmit  |    Version:
Resolution:  fixed      |   Keywords:  bibdocfile embargo
------------------------+--------------------------------

Comment (by Samuele Kaplun <samuele.kaplun@…>):

 In [75d867d52a8aa9aa13382834027cd49149bea1f3]:
 {{{
 #!CommitTicketReference repository=""
 revision="75d867d52a8aa9aa13382834027cd49149bea1f3"
 bibdocfile: fix handling of embargo firerole rule

 * When bibdocfile is checking an document authorization the regular
   expression used to interpret the rule was wrong leading to rules
   such as:

     deny until '2010-01-01'
     allow any

   to be parsed as:

     deny until '2010-01-01'

   loosing the last line, and thus always denying access.

   This is now fixed. (closes #448)
 }}}

-- 
Ticket URL: </ticket/448#comment:3>
Invenio <http://invenio-software.org>

Reply via email to