Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API Feature Request] Permissions #101

Open
kylemh opened this issue Oct 18, 2021 · 2 comments
Open

[API Feature Request] Permissions #101

kylemh opened this issue Oct 18, 2021 · 2 comments
Labels
api Issues related to API feature request New feature or improvement

Comments

@kylemh
Copy link

kylemh commented Oct 18, 2021

Describe the feature and the current behavior/state.
Extensions could potentially wish to do things that would require the user to give Raycast more permissions. For example, if I wanted to create an extension that needs to query all of a user's text messages in iMessage, they'd need file system access. Currently, my only recourse is to show a UI to the user instructing them they need to do this.

I would like to request that permissions requests are somehow made into a more 1st-class experience. Both for extension authors and for Raycast users.

Will this change the current API? How?
Potentially! I could see a future where any Mac permission error simply triggers a permissions request; however, imperatively using a "Permissions API" through Raycast could enable things like fallback behavior specific to that extension.

Who will benefit with this feature?

  • Extension authors who wish to create extensions that require more permissions than the user has initially provided Raycast
  • Users who want to continue enjoying Raycast's 1st-class experience surrounding permissions requests.
@kylemh kylemh added api Issues related to API feature request New feature or improvement labels Oct 18, 2021
@loris
Copy link
Contributor

loris commented Oct 23, 2021

Also interested in this (needs Full Disk Access, to read Safari Cloud Tabs).
It would be great if one could specify some permissions in an extension package.json and Raycast would check for them and handle the display of instructions as it already do when you try to access browser bookmarks:

image

@blabberlicious
Copy link

I'm getting this error when trying to use your Extension, or any that tries ti access Safari Bookmarks.
Recently update to Sonoma.

Thanks!

Error: maxObjectCount exceeded

We.parseBuffer:bplistParser.js:92:10


89: }
90:
91: if (numObjects > exports.maxObjectCount) {
92: throw new Error("maxObjectCount exceeded");
93: }
94:
95: // Handle offset table

Ty:search-bookmarks.js:51:24532
search-bookmarks.js:51:25074
FSReqCallback.readFileAfterClose:read_file_context:68:3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues related to API feature request New feature or improvement
Projects
None yet
Development

No branches or pull requests

3 participants