@copart/ops-tool-kit 1.7.6-alpha.3 → 1.7.6-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
33
33
  var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
34
34
 
35
35
  const name$e = "@copart/ops-tool-kit";
36
- const version$3 = "1.7.6-alpha.3";
36
+ const version$3 = "1.7.6-alpha.4";
37
37
  const main = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -30700,7 +30700,6 @@ var emailAddressAllowed = function emailAddressAllowed(emailAddress, tile) {
30700
30700
 
30701
30701
  var appFunctionIdAllowed = function appFunctionIdAllowed() {
30702
30702
  var coreAppPermissions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
30703
- var allPermissionIds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
30704
30703
  var permissionIds = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
30705
30704
  var tile = arguments.length > 3 ? arguments[3] : undefined;
30706
30705
  var id = tile.appFunctionId;
@@ -30708,12 +30707,7 @@ var appFunctionIdAllowed = function appFunctionIdAllowed() {
30708
30707
  if (!id) {
30709
30708
  return true; // not defined in config so just allow the tile to be viewed for now
30710
30709
  } else if (global.STACK === 'g') {
30711
- if (['view_miorg', 'view_mitime', 'view_midriverpay'].includes(id)) {
30712
- // special case for miorg/mitime to check all permissions
30713
- return includes$1(id, allPermissionIds);
30714
- } else {
30715
- return includes$1(id, permissionIds);
30716
- }
30710
+ return includes$1(id, permissionIds);
30717
30711
  } // Check appfunction in opsportal-core permissions
30718
30712
  else {
30719
30713
  return !isEmpty$2(coreAppPermissions) && !isNil$1(coreAppPermissions.find(function (permission) {