Function EditingApiPermissions.allows

Return true when the exact permission name was reported.

bool allows(
  scope const(char)[] permission
) pure nothrow @nogc @safe const;