Merge branch 'master' of github.com:KNG-Scherezade/Google-Drive-Permission-Set
[Google-Drive-Permission-Set.git] / readme.md
blob79016515f70dd8a28df75dc16adca40c7e15aba1
1 # Google-Drive-Permission-Set
2 Automates Setting permissions on google drive
3 ## How to use
4 1) Download Java if you don't have it.
5 2) Get files from build/libs
6 3) Run file and follow instructions
9 ### Tutorial
11 In google drive say you have a bunch of folders and within them identically named files.<br/>
12 <img src="http://puu.sh/CAYYo/52a487e195.png"/>
13 <br/>
14 <img src="http://puu.sh/CAYZV/8bc7e3ad0e.png"/>
15 <br/>
16 This application will go through each of them based off of a name and a specified top level folder and give them a permission setting of  Writer(an editor) or a reader. You can specify users by their email account, group or make everyone possesing the link have that permission. <br/>
18 ## FAQ
20 How to find the google drive ID for your top level folder?<br/>
21 <ul><li><img src='http://puu.sh/CAZ4q/ed23250a23.png'> <br/> Within the URL of any google drive folder there is a set of numbers and letters that look random. This is the ID you must enter. Google drive and this application can not view folders as unique items so it must use IDs.</li></ul>
23 What if I mess up?<br/>
24 <ul><li>Restart the program</li></ul>
26 How do I change accounts?<br/>
27 <ul><li>In the directory containing the JAR file you should see a credential file. Delete that, rerun and you should see a new window to change accounts</li></ul>
29 This is really slow...<br/>
30 <ul><li>The Google Drive API is heavily used so the program makes many HTTP requests on a single thread. Also the API will limit you even if you use their services within the specified restrictions. Because of this each HTTP request needs a cooldown period of a few seconds. Future fixes may involve understanding how the Java framework works to better implement the queries, but the cooldown period is nescicary for batch requests</li></ul>