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. 
Ok, sounds good.

On Thu, Sep 18, 2014 at 5:03 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])
>
> On the server side it is just user.id which is always an int. I suggest
> keeping the forced string here incase you move to any other backend/auth
> provider. It will keep it constant even if they send a string or an int. We
> can't ask a 3rd party to change their id to a string if it's an int.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/codalab/codalab-cli/pull/117/files#r17763236>.
>