<!--
{
  "availability" : [
    "macOS: 10.14.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWorkspace/AuthorizationType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSWorkspaceAuthorizationType"
  },
  "title" : "NSWorkspace.AuthorizationType"
}
-->

# NSWorkspace.AuthorizationType

The types of privileged file operations that can be authorized by the user.

```
enum AuthorizationType
```

## Overview

To enable your app to prompt the user for these file permissions, you must have a Privileged File Operation entitlement. If you have an app on the Mac App Store or plan to submit your app for review, you can [request this entitlement](https://developer.apple.com/go/?id=workspace-authorization).

## Topics

### Types of Authorization

[`NSWorkspace.AuthorizationType.createSymbolicLink`](/documentation/AppKit/NSWorkspace/AuthorizationType/createSymbolicLink)

Authorization for the app to create a symbolic link.

[`NSWorkspace.AuthorizationType.replaceFile`](/documentation/AppKit/NSWorkspace/AuthorizationType/replaceFile)

Authorization for the app to perform an atomic file write without changing the target file’s permissions.

[`NSWorkspace.AuthorizationType.setAttributes`](/documentation/AppKit/NSWorkspace/AuthorizationType/setAttributes)

Authorization for the app to change specific file attributes.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)