#458: BibAuthorID: conditional display of "Claim this paper" links
-------------------------+--------------------------------------------------
 Reporter:  simko        |       Owner:      
     Type:  defect       |      Status:  new 
 Priority:  blocker      |   Milestone:  v1.0
Component:  BibAuthorID  |     Version:      
 Keywords:               |  
-------------------------+--------------------------------------------------
 1) The user-facing facilities of BibAuthorID should be displayed
 conditionally, i.e. if a user does not have right to use the paper
 claiming facility (e.g. does not belong to `claimpaperusers` role,
 or better said `acc_authorize_action()` for the given user on
 the proper paper-claiming action says "no"), the user should not even
 see the //Claim this paper// link in the UI at all.  (Similarly to how
 the basket facility is not even displayed for users when they don't
 have the proper rights to `usebaskets` and stuff.)

 2) One related issue.  Currently, if the user is a guest and he/she
 sees the paper claiming link and follows it, but as a guest obviously
 does not have any paper claiming rights, the user is shown an error
 message without further hints.  The user should rather be redirected
 to the login page instead, like for other personal facilities such as
 baskets.  In reality, the paper claiming link will be probably hidden
 from the guest users (see the point 1 above), but some Invenio site
 may decide to display the link anyway, even to guests, as a means of
 attracting people to create accounts.

-- 
Ticket URL: <http://invenio-software.org/ticket/458>
Invenio <http://invenio-software.org>

Reply via email to