How do I enable CSV downloads and uploads in the GUI? - alan

In the GUI, I see a button for Excel downloads, but how do I enable CSV downloads and uploads in the GUI? [

In the settings.alan for that client system you probably need to edit these lines:
csv actions: enabled <-- set to enabled
system administrator role: 'Employee' <-- set to your role
The csv actions setting toggles the feature globally, the role settings restricts access to specific user groups.

Related

Drive Picker file upload issue

Can anyone shed any light on an issue with the drive picker. The same app
https://developers.google.com/appmaker/samples/drive-picker/
allows select of files but when you try to upload a file you get a "files failed to upload" message (see screenshot)
The app is being run as user so it can't be an identity issue.
By default the Drive Picker has “read only” access to a user’s Drive unless your App Maker application specifically requests “read/write” access. So basically in order to use the upload functionality you need to force your App Maker app to request “read/write” access. The easiest way to do this is to create a new ‘Server script’ and add a simple function that would require write access. For example:
function writeAccess() {
DriveApp.addFile();
}
This function will never be run or called but App Maker will recognize it needs write access to implement it and request it from the user. So simple add the script file and copy and paste the above. Once write access is available for your application you’ll be able to upload files with Drive Picker.

NppFTP - upload failed (using SFTP)

Using FTP, everything is ok... but..
When i use SFTP, it successfully connects, and even, when i use "UPLOAD BUTTON", it successfully uploads file...
but when i edit+save file, and it starts to upload changes automatically, it cant upload (red message: file........... upload failed)..
Check to ensure that the specific file you are trying to upload has the correct permissions. The user should be able to write.
The file you are trying to upload should have read and write permission for the user you are using and also check that the owner name & owner group for the file are correct.
I faced this issue and the problem was the user which i was using was not in the owner group for which the file permissions were given.
You should have set correct External Path.
when using SFTP, external directory should start with: /home/user/MY_SITE
(unlike FTP: /MY_SITE)

IT Hit CalDAV / CardDAV server user permission settings

Regards: IT HIT CalDAV / CardDAV server.
It seems when opening the IT HIT Ajax File Browser the logged in user can see all content off all users.
How can we set permission so a user can only see his own content?
You can filter the folder content in IItemCollection.GetChildren method implementation. This method returns list of child items in a folder. Depending on user permissions you can filter items visible for the loged-in user.
The sample CalDAV/CardDAV server and sample code generated by IT Hit CalDAV/CardDAV Server Wizard contain GetChildren method in DavFolder class implementation in DavFolder.cs.
Note that in case you store data in Windows file system and rely on Windows file system permissions, all users always see the same folder content regardless of their permissions on sub-folders and files. This is how Windows file system permissions work. So there is no simple way to filter visible folder content only manipulating file system permissions. (Users however can not for example navigate to subfolders or open files if they do not have enough permissions)

What are the permissions to enable changing of documentviewer settings in Plone for a Reader?

In Plone Unified installer v.4.1.4 with collective.documentviewer 2.2.1, I wish to enable document settings tab for a custom role i.e a reader who has view access and also who can only change the 'document settings' in the folder. I wish to allow this custom_reader role to download the file. I have disabled the at_download. My idea is the default 'Reader' role can access only documents for view, while the custom_reader role can access the document viewer settings in the submenu tab and enable 'Show sidebar' so that he can download the 'Original Document' by clicking on it. I want to know which is the exact permission(s) in the Security tab of ZMI which helps control this. At the moment if I allow edit permissions, the settings for this are editable but otherwise for the custom_reader though I allow 'Modify portal content' and 'Modify view template' the document viewer settings when clicked for the uploaded file shows message : 'You have insufficient rights..'. I do not wish to allow any other permissions to the custom_reader role.
I have custom workflow for folders which has only 'private' state
without any transitions. Each folder will have 2 users 1. reader and
other 2. custom_reader with download option. The entire plone site
document viewer settings is set to show in full screen by default. So I want the
permission for the custom_reader such that he can set the
documentviewer settings to show the sidebox so that he can download
using the 'Original Document' hyperlink. While the reader should not
be able to download the file as he cannot access the sidebox of the
documentviewer.
You're question is a little unclear but here is what is happening.
The permission required is "Modify portal content" to be able to edit those settings and "Modify view template" for the button to show up.
I think this is a mistake as it should use the same button for both. Perhaps a pull request is needed.
That being said, if you grant these permissions, it should work as you expect. You'll also need to make sure your custom_reader role has View permission of course.

Drupal How to see document attached to Node for anonymous users

I am finishing up a Drupal site and I have attached a word document on one of my page nodes. I want anonymous people to be able to download it, but they don't even see the document. I do as a logged in user.
Any Ideas?
You need to give anonymous users permission to view uploaded files.
I'm guessing that you used the upload module.
The permissions page is at /admin/user/permissions and under the group "upload module" you are looking for "view uploaded files".
-Ed
Assuming you only want to enable this one particular file to anonymous users, you can do it without touching permissions, which would affect your whole site.
The simplest way, assuming you have configured downloads as "public" instead of "private" is to just add a link to the document in your page node, like Download myfile.doc

Resources