Added api and import-support for read-only permissions.