Allowing users to download files
-
Just quickly, in reading ng-model is a form input correct?
Is there an ng output of any kind from this component that I could look at? There are no docs in either the API or regular documentation sections for it.
-
@psysak said in Allowing users to download files:
Just quickly, in reading ng-model is a form input correct?
ng-model
defines the underlying data of a view. Basically in this case the model data is a string which defines the path to a file. If you select a different file in the browser it will update the model variable with the new path.@psysak said in Allowing users to download files:
Is there an ng output of any kind from this component that I could look at?
I don't know what a
ng output
is however you can view any variable in your scope like so<pre ng-bind="maFileStoreBrowserModel | json"></pre>
@psysak said in Allowing users to download files:
There are no docs in either the API or regular documentation sections for it.
Correct, this component was not originally intended for customer use.
-
Quick question, permissions can't be set on a folder in a filestore can they?
-
No permissions are per file store.
-
Hey guys, I was wondering if I could get your help on this a little bit. In light of not being able to lock down individual files is there any other way, either in mango or through the use of the Angular framework or anything else, which would allow me to implement a file download? Main thing is I need to basically lock a user out from easily getting to other people's files.
I suppose let me ask a different question as well. Will mango have an issue if I create a hundred filestores? I'm not sure I'll need 100 but let's say I did.
I also do realize I could probably link to an FTP, but that makes a much less seamless experience. I like the file store as well because I can just drop files and they appear. If I had a table or whatever I'd have to traverse a directory and build links dynamically and I'm not great with how to accomplish that.Thanks all, I'm a bit up against it here on this one.
-
@psysak said in Allowing users to download files:
I suppose let me ask a different question as well. Will mango have an issue if I create a hundred filestores? I'm not sure I'll need 100 but let's say I did.
It should be totally fine to have hundreds of file stores.
The file stores weren't really intended to be per user but per "group" / "role"
-
OK that's fair, I would consider this implementation an instance of "group/role of one" :)
Thanks that helps! -
@phildunlap said in Allowing users to download files:
This very thing! Well, and other things.
I chuckled a little too hard on that comment!
-
Hi guys,
I have a user with only edit-ui-pages role and I have add edit-ui-pages role into flle stores' edit menu page as such:
However, when I login with the new user, the user can only see the file stores > default directory. The user cannot add files or directory to the default directory. Furthermore, the user cannot access the file stores > public directory. What else do I need to setup so the user can access the file stores' public directory?
Please advise.
BR,
Ricardo -
Check filestore permissions under
administration->system-settings->permissions
for a start.Fox