[Dspace-tech] Export archive "restricted"?

2013-04-16 Thread Alan Orth
All,

I've got a community admin who is trying to export metadata from his 
community as a CSV.  He's an admin of the community and he's logged in 
but DSpace tells him that "Export of this archive is restricted".  If I 
log in as myself it works (I'm the super admin!).

Anyone have an idea what I've presumably misconfigured?  helix84? ;)

Thanks!

-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; my 
wish has come true because I can no longer figure out how to use my telephone." 
-Bjarne Stroustrup, inventor of C++


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Export archive "restricted"?

2013-04-16 Thread helix84
It saves time to list the exact wording ("This export archive is restricted.").

Here's what the comment at that place in code says:

// The user does not have read access to this bitstream. Interrupt
this current request
// and then forward them to the login page so that they can be
authenticated. Once that is
// successful they will request will be resumed.

I don't use that functionality, so I don't know what's wrong. One
guess I would take is - if you made the export and he's trying to
download it, he probably can't (although I'm not sure your export
would show up in his "My Exports"). Is the message the same when he
tried to do the export as opposed to downloading the export?

BTW you may test the functionality on demo.dspace.org. From my test,
it works (both exporting and downloading the export).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Export archive "restricted"?

2013-04-16 Thread Luis Rojas C. (CATIE)
Of course, thanks for all. 

-Mensaje original-
De: helix84 [mailto:heli...@centrum.sk] 
Enviado el: martes, 16 de abril de 2013 2:37 
Para: Alan Orth
CC: dspace-tech
Asunto: Re: [Dspace-tech] Export archive "restricted"?

It saves time to list the exact wording ("This export archive is restricted.").

Here's what the comment at that place in code says:

// The user does not have read access to this bitstream. Interrupt this current 
request // and then forward them to the login page so that they can be 
authenticated. Once that is // successful they will request will be resumed.

I don't use that functionality, so I don't know what's wrong. One guess I would 
take is - if you made the export and he's trying to download it, he probably 
can't (although I'm not sure your export would show up in his "My Exports"). Is 
the message the same when he tried to do the export as opposed to downloading 
the export?

BTW you may test the functionality on demo.dspace.org. From my test, it works 
(both exporting and downloading the export).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced analytics on 
semi-structured data. The platform includes APIs for building apps and a 
phenomenal toolset for data science. Developers can use our toolset for easy 
data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Export archive "restricted"?

2013-04-17 Thread Alan Orth
Thanks, helix.  My memory of the exact error wording wasn't as good as I 
thought!  :)

In my experience the "Export Metadata" link directly downloads a CSV 
file; I don't see "My Exports"...?

I'll try to replicate this experiment on demo.dspace.org.

Thanks,

Alan

On 04/16/2013 11:37 PM, helix84 wrote:
> It saves time to list the exact wording ("This export archive is 
> restricted.").
>
> Here's what the comment at that place in code says:
>
> // The user does not have read access to this bitstream. Interrupt
> this current request
> // and then forward them to the login page so that they can be
> authenticated. Once that is
> // successful they will request will be resumed.
>
> I don't use that functionality, so I don't know what's wrong. One
> guess I would take is - if you made the export and he's trying to
> download it, he probably can't (although I'm not sure your export
> would show up in his "My Exports"). Is the message the same when he
> tried to do the export as opposed to downloading the export?
>
> BTW you may test the functionality on demo.dspace.org. From my test,
> it works (both exporting and downloading the export).
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; my 
wish has come true because I can no longer figure out how to use my telephone." 
-Bjarne Stroustrup, inventor of C++


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Export archive "restricted"?

2013-04-17 Thread Alan Orth
Responding to myself here,

It seems that you must be a super admin in order to export meta data 
from a collection.  ie, community- and collection-level admins cannot 
export metadata from their communities / collections unless they are 
also top-level admins.

Alan

On 04/17/2013 10:00 AM, Alan Orth wrote:
> Thanks, helix.  My memory of the exact error wording wasn't as good as 
> I thought!  :)
>
> In my experience the "Export Metadata" link directly downloads a CSV 
> file; I don't see "My Exports"...?
>
> I'll try to replicate this experiment on demo.dspace.org.
>
> Thanks,
>
> Alan
>
> On 04/16/2013 11:37 PM, helix84 wrote:
>> It saves time to list the exact wording ("This export archive is 
>> restricted.").
>>
>> Here's what the comment at that place in code says:
>>
>> // The user does not have read access to this bitstream. Interrupt
>> this current request
>> // and then forward them to the login page so that they can be
>> authenticated. Once that is
>> // successful they will request will be resumed.
>>
>> I don't use that functionality, so I don't know what's wrong. One
>> guess I would take is - if you made the export and he's trying to
>> download it, he probably can't (although I'm not sure your export
>> would show up in his "My Exports"). Is the message the same when he
>> tried to do the export as opposed to downloading the export?
>>
>> BTW you may test the functionality on demo.dspace.org. From my test,
>> it works (both exporting and downloading the export).
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>


-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; my 
wish has come true because I can no longer figure out how to use my telephone." 
-Bjarne Stroustrup, inventor of C++


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Export archive "restricted"?

2013-04-17 Thread helix84
Hi Alan,

I admit I did only a single test on demo where I exported a community using
the community admin's account, but the test was successful, as you can
still see when you look at that account's "My Exports".

I used the "dspacedemo+commad...@gmail.com" account to export the following
community (which he's an admin of):
http://demo.dspace.org/xmlui/handle/10673/1

What did you do differently while testing on demo? Are you sure the
community or collection admin you tried was really an admin for that
particular community/collection?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Export archive "restricted"?

2013-04-19 Thread Alan Orth

Helix,

I just did a more-thorough test on demo.dspace.org.  I added Demo 
Community Administrator as an administrator of the "haris community" [1] 
and Demo Collection Administrator as an administrator of the "haris 
collection" [2].  When either are logged in, there's a new menu item 
that appears in their respective community/collection: Context -> Export 
Metadata. Despite the option appearing, neither of them are able to 
actually export the meta data; the error message is as before, " This 
export archive is restricted."


Note, I'm not exporting communities or collections, just the metadata; 
it seems you must be a site-wide administrator to be allowed to export 
meta data as a CSV.  I'm not sure why the option appears if it's not 
allowed...


Hope that clarifies and possibly helps someone else.

[1] http://demo.dspace.org/xmlui/handle/10673/2432
[2] http://demo.dspace.org/xmlui/handle/10673/2433

On 04/17/2013 03:45 PM, helix84 wrote:

Hi Alan,

I admit I did only a single test on demo where I exported a community 
using the community admin's account, but the test was successful, as 
you can still see when you look at that account's "My Exports".


I used the "dspacedemo+commad...@gmail.com 
" account to export the 
following community (which he's an admin of):

http://demo.dspace.org/xmlui/handle/10673/1

What did you do differently while testing on demo? Are you sure the 
community or collection admin you tried was really an admin for that 
particular community/collection?



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; my wish 
has come true because I can no longer figure out how to use my telephone." -Bjarne 
Stroustrup, inventor of C++

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette