Doh! I did it again ... sent a message to the group just a bit before
finding the answer by myself.
I see that document-get() does what I want. I had looked at that, but when
I read it, I didn't expect that, if I just plopped it down with a local
binary file as the return value for an .xqy, that
I want to be able to, from XQuery, pass control back to the server and tell
it "go serve this file here from the local filesystem".
In other words, say I have a random file within my app's directory tree,
that would normally get served from
http://localhost/examples/HappyCat.png
The MarkLogic se
Yes, you can update your documents, but not setting properties, setting
permissions (xdmp:document-set-permissions). Nevertheless, you will have to
update every document if you want a non-admin user to see them.
If a document has no permissions, only a user with the admin role can see the
docu
http://www.kogensor.fewq.com/ijBQPl2Wsz.htm
___
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general
OK, I will start from scratch (or nearly so because I have 20GB of documents I
dont want to reload ... )
I think I can use xdmp:document-set-properties( ... )
What happens if documents have no permissions (like mine do, I just checked).
Can you make a non-admin user that can read them ? Or do pe
I have the following query:
let $x := for $d in (1 to 1000)
return 1
let $d := fn:doc("/testlocking.xml")/val
return (xdmp:request-timestamp(),
fn:current-dateTime(),$d,xdmp:document-insert("/testlocking.xml",{$d+1}))
I verified that this is treated as an update query because
xdmp:request-t
And thanks for the report, the 4.0 doc links are now fixed and go to:
http://developer.marklogic.com/pubs/4.0/apidocs/AdminLibraryMimetype.html
-Danny
From: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Chris Maloney
Sent: Friday, April 0
Hi David,
If it was *simple*, it would not be secure :)
Remember that users do not have permissions, document have permissions, and
permissions are tied to roles via a capability (read, update, insert, or
execute).
Privileges protect code access (and URI privileges protect creating documents
I see that I was looking at the 4.0 documentation instead of 4.1.
Sorry for the noise.
___
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general
On this functions page:
http://developer.marklogic.com/pubs/4.0/apidocs/All.html
There's a link for "Mimetypes Functions" to
http://developer.marklogic.com/pubs/4.0/apidocs/AdminLibrary.html&sub=mimetypes
but it is broken :(
Can anybody send me the real link, if the page exists?
Chris
P.S. I'm
Hello,
I have only one document, and it is currently 433KB. This is the min as this
document will only grow in the future, possibly up to 100MB or larger. The
fragment rooted at the level of my document is currently at about 120KB
in size, and this is also a min as this fragment will possibly
I'm struggling on creating a user with the right roles and permissions
to run a simple app.
I read over the security and Admin documentation and still dont get it.
I think my problem is that ML security is *too flexible* ! (no I'm not
asking to change that :)
I was sorta hoping for a de
Eric, you didnt give your email so I am replying to the group.
I am a committer and would like to continue to be one.
My project is the "MarkLogic Extension Module for xmlsh"
David A. Lee
Senior Principal Software Engineer
Epocrates, Inc.
d...@epocrates.c
13 matches
Mail list logo