In order to login to the development server locally you will need to create a superuser by running:
make manage createsuperuser
Once created, you will be able to login with the username and password you set up.
Superusers can manage all instances and use all APIs.
Instance Manager users
Instance manager users can manage instances and use the API, but are not permitted in the Admin area. They are limited to manage instances of their own organization.
To create an instance manager user:
make shell In : from django.contrib.auth.models import User, Permission In : from django.contrib.contenttypes.models import ContentType In : content_type = ContentType.objects.get_for_model(InstanceReference) In : permission = Permission.objects.get(content_type=content_type, codename='manage_own') In : user = User.objects.create(username='instance_manager', password='password') In : user.user_permissions.add(permission) In : user.save()
UserProfile to the right values.
Staff users cannot manage instances or use the API, but are permitted in the Admin area.
To create a staff user:
make shell In : from django.contrib.auth.models import User In : user = User.objects.create(username='staff_user', password='password') In : user.is_staff = True In : user.save()