hasPerm abstract method
Future<bool>
hasPerm({
- required String? doctype,
- required PermissionType pType,
- int? permLevel,
- String? docname,
Returns boolean whether the user has perm pType
for a particular doctype
.
Implementation
Future<bool> hasPerm(
{required String? doctype,
required PermissionType pType,
int? permLevel,
String? docname});