Hi Karla:

On Thu, 26 Feb 2009, Karla Gabriela Robles Bernal wrote:
> I wonder if somebody can tell me how can I restrict documents and
> pictures like the example attached, on guest users, I want them to see
> just the detailed record but not the document.

You can just follow the example provided with our demo site.  There is a
demo role called `restrictedpicturesviewer', to which some demo users
are attached (Romeo and Juliet).  This role is granted rights on the
action called `viewrestrdoc' (=fixed name; this action is invoked when a
user wants to access a full-text document) for documents tagged as
`restricted_picture'.  This restriction tag can be specified on per
document basis during upload time (via FFT $r) or later via bibdocfile
CLI tool; see the corresponding BibUpload Admin Guide or ``bibdocfile
--help''.

So, basically you should just tag your photos with some restriction tag,
then create some role, then attach users to this role, then create
authorizations for this role on the action `viewrestrdoc' with argument
equal to your restriction tag, then run webcoll, and you are done.

Best regards
-- 
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to