Added support for basic permissions