;;
;; StoreUI framework - sandbox profile
;; Copyright (c) 2023 Apple Inc. All Rights reserved.
;;
;; WARNING: The sandbox rules in this file currently constitute
;; Apple System Private Interface and are subject to change at any time and
;; without notice.
;;

(if (entitlement "com.apple.private.commerce")
  (begin
    (allow mach-lookup
      (global-name "com.apple.commerce"))
    (allow user-preference*
      (preference-domain "com.apple.AppleMediaServices")
      (preference-domain "com.apple.commerce"))
    (allow generic-issue-extension
         (extension-class "com.apple.webkit.mach-bootstrap"))
    (allow mach-issue-extension
      (require-all
        (extension-class "com.apple.app-sandbox.mach"))
      (require-any
        (global-name "com.apple.commerce")))))

