WIP - permisisons group update

Fixes here and there to make permissions and groups work correctly. 
Updated commands syntax to be like other commands. Also updates for how cli has changed. 

Everything seems to work again, doing double checking on all commands. 
But the user id is in general not going to be an 'int'...what if it's a
string - how is the server going to pass that?
Can we change the server to pass strings?

On Thu, Sep 18, 2014 at 3:28 PM, Francis David Cleary <
notifications@github.com> wrote:

> In codalab/server/auth.py:
>
> > @@ -239,7 +239,7 @@ def get_users(self, key_type, keys):
> >              user_dict = {}
> >              key_type_key = 'name' if key_type == 'names' else 'id'
> >              for user in result['users']:
> > -                key = user[key_type_key]
> > +                key = str(user[key_type_key])
>
> This one has to stay, Results response from the server the users id is
> returned as an int.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/codalab/codalab-cli/pull/117/files#r17759325>.
>