Title: CSV Editor Mode
Last modified: August 24, 2016

---

# CSV Editor Mode

 *  Resolved [fgsfalco](https://wordpress.org/support/users/fgsfalco/)
 * (@fgsfalco)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/csv-editor-mode/)
 * Hello,
 * Is it possible to limit the CSV Editor Mode to only certain Roles/Users/Cap etc..?
   Or is Editor mode in CSV data Tables “Enabled” for all and “Disabled” nobody?
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [fgsfalco](https://wordpress.org/support/users/fgsfalco/)
 * (@fgsfalco)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/csv-editor-mode/#post-6105716)
 * Okay I’m a little closer to achieving what I need which is for only certain logged
   in users to be able to edit a table.
 * With these shortcodes on the same page both logged out viewers and logged in 
   with “site-admin” role see the csv table twice.
 * [fileaway_values filename=”Phone-list.csv” showto=”site-admin” editor=”true” 
   theme=”silver-bullet”]
 * [fileaway_values filename=”Phone-list.csv” hidefrom=”site-admin” theme=”greymatter”]
 * Both instances are editable. Am I missing an attribute?
 * Thanks!
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/csv-editor-mode/#post-6105740)
 * Are you sure the role is “site-admin” and not “site_admin” with an underscore?
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/csv-editor-mode/#post-6105741)
 * I created a role called site-admin, copied your shortcodes exactly, created a
   csv by that name, logged-in as site admin. I’m only seeing one.
 *  Thread Starter [fgsfalco](https://wordpress.org/support/users/fgsfalco/)
 * (@fgsfalco)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/csv-editor-mode/#post-6105749)
 * Okay now I see only the one editable silver-bullet version when logged in as 
   a user with the “site-admin” role. Great! Whoever when logged out I get the same
   results showing silver-bullet version with edit capabilities. no gooda! I want
   to hide that one and show the “greymatter” version non editable.
 * So is it that the “hidefrom” attribute is only applied when logged in?
 * I’m going to try to achieve my desired functionality using your “Eyes Only: User
   Access Shortcode” plugin.
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/csv-editor-mode/#post-6105750)
 * Eyes Only is a good fallback.
 * However, if either hidefrom or showto is used, it should only be showing to logged-
   in users regardless. It’s working correctly for me.
 *  Thread Starter [fgsfalco](https://wordpress.org/support/users/fgsfalco/)
 * (@fgsfalco)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/csv-editor-mode/#post-6105751)
 * Okay this works!
 * [eyesonly logged=”out”][fileaway_values filename=”Phone-list.csv” theme=”greymatter”][/
   eyesonly]
 * [eyesonly level=”site-admin”][fileaway_values filename=”Phone-list.csv” showto
   =”site-admin” editor=”true” theme=”silver-bullet”][/eyesonly]
 * Thanks for taking time to look into this. If you want I can send you login information
   to this dev site so you can confirm if I’m crazy or I have a conflict of some
   sort? Or both?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘CSV Editor Mode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [fgsfalco](https://wordpress.org/support/users/fgsfalco/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/csv-editor-mode/#post-6105751)
 * Status: resolved