Check if the user can write a doctype
Future<bool> canWrite(String doctype) async => await _canInUserPermissions('can_write', doctype);