-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filtering users by name and account type while exporting #318
Conversation
Fixed permission error coming while installing docker compose in install.md
Fixed Permission error in install.md
issue #313 |
There are several changes which are not relevant to the issue (comments, unwanted spaces). Can you please remove them? Also, if you look at the git diff, you'll find some "end of line" errors, can you please get rid of them too? |
sure, I'll do that |
@NikhilM98 done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job. It works and it's useful.
BTW it's no longer possible to export every users which is require.
I suggest to add an option to do that in the combo to allow Students/Teacher/Admin + All.
See also my comments below and remove comments on every line of your change.
@@ -2,4 +2,4 @@ if ! [ $# -eq "3" ] ; then echo "You should provide user, password and URL" ; ex | |||
newuser=$1 | |||
newpassword=$2 | |||
newobject="user=%7B%22name%22%3A%22${newuser}%22%2C%22role%22%3A%22admin%22%2C%22password%22%3A%22${newpassword}%22%2C%22language%22%3A%22en%22%7D" | |||
curl -k -i -H "Content-Type: application/x-www-form-urlencoded" -X POST -d "${newobject}" $3 | |||
curl -k -i -H "Content-Type: application/x-www-form-urlencoded" -X POST -d "${newobject}" $3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this change from the PR
@@ -14,7 +14,7 @@ To run Sugarizer Server using Docker and Docker Compose: | |||
|
|||
Install Docker Compose | |||
|
|||
curl -L "https://github.com/docker/compose/releases/download/1.8.1/docker-compose-$(uname -s)-$(uname -m)" > /usr/local/bin/docker-compose | |||
curl -L "https://github.com/docker/compose/releases/download/1.8.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this change from the PR
@@ -1,3 +1,4 @@ | |||
version = 1.4.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this change from the PR
@@ -1,12806 +1,8 @@ | |||
{ | |||
"name": "sugarizer-server", | |||
"version": "1.4.0", | |||
"lockfileVersion": 2, | |||
"lockfileVersion": 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove changes in this file from the PR
Closed due to lack of activity. |
Now the users are getting filtered according to account type and name when we export users, rather than exporting all the accounts , only the filtered accounts are getting downloaded