canDelete method

Future<bool> canDelete(
  1. String doctype
)

Check if the user can delete a doctype.

Implementation

Future<bool> canDelete(String doctype) async =>
    await _canInUserPermissions('can_delete', doctype);