Plugin permissions
Configurazione
Questi contenuti non sono ancora disponibili nella tua lingua.
From HolyArrs 1.3.0, a plugin can use parts of HolyArrs, like your library or your downloads, only if you approve them. There are 87 permissions in 8 groups. Each plugin lists exactly what it needs, and HolyArrs holds it to that list. See Plugins for installing and removing them.
When you see them
Link to When you see them- Before you install. The install screen shows the groups the plugin uses, each marked Read or Read and change. Select Details to see the exact permissions.
- When an update asks for more. The new version waits until you approve it, and the old one keeps running. An update that asks for less installs on its own.
- On the plugin’s page in the plugin directory.
A plugin acts as itself, not as you. It can only do what its permissions allow, and every call it makes goes in the activity log.
The install screen shows a red warning for anything that can delete or change your media files, delete downloads, make HolyArrs reachable from outside your home network, or act as a download client.
How to use permissions
Link to How to use permissionsThis part is for plugin authors.
1. List what you need. Put the permissions in access.actions in your holyarrs-plugin.json, and set min_app_version to 1.3.0. Every valid name is in scopes.json.
{ "min_app_version": "1.3.0", "access": { "hosts": ["api.example.com"], "folders": [], "actions": ["library.read", "library.artwork.set"] }}2. The owner approves them. At install, the owner sees your permissions sorted into the 8 groups below, each marked Read or Read and change. Deleting, changing media files, network.forward and sources.downloader show a red warning.
3. Call HolyArrs with the plugin’s own key. Your plugin gets two values when it starts:
HOLYARRS_PLUGIN_TARGET: HolyArrs’ local address.HOLYARRS_PLUGIN_TOKEN: a key that’s new on every start.
Send the key as a Bearer header:
curl -H "Authorization: Bearer $HOLYARRS_PLUGIN_TOKEN" \ "$HOLYARRS_PLUGIN_TARGET/api/v1/titles"This call lists your titles and needs library.read. Any route outside the approved permissions answers 403.
4. Ask for the fewest you need. A wider permission covers the narrower ones under it, so library.read includes library.music.read. If you only need music, ask for library.music.read. If a later version asks for more, it waits until the owner approves it.
How permissions are named
Link to How permissions are namedEach permission is an area, an optional part, and what it allows: read to look, change to edit, control to start, stop or pause things, delete to remove things. Every .delete gets a red warning. A few newer abilities end in their own word instead, like alerts.webhooks.send or media.stream.
Anything that doesn’t end in .read counts as a change, so a group with one of those shows Read and change.
The 8 groups
Link to The 8 groupsAPI calls is how many different HolyArrs API calls the permission lets a plugin make. For example, library.read covers 25 calls, one for each kind of library information it can read. New marks an ability HolyArrs didn’t open to anything before 1.3.0.
Library
Link to LibraryYour movies, shows and music, and the lists and tags around them.
| Permission | What it lets a plugin do | Example | API calls |
|---|---|---|---|
library.read |
Read every title in your library: movies, shows, seasons, episodes and albums, with status, files, copies, subtitles, cast, releases found and library stats, including what’s been watched. Includes every library.*.read below. |
A Trakt sync reading what you have | 25 |
library.change |
Add movies and shows, edit them and their seasons and episodes, follow or unfollow them, move and rename their files, rescan, refresh or search for them, manage versions and leftover files, and set which subtitles you want. Includes every library.*.change below. |
A list importer that adds titles | 27 |
library.delete |
Red warning. Delete a title, remove one version of a title, or remove a whole collection. | A cleanup tool for watched movies | 4 |
library.artwork.read |
Load the posters and other artwork HolyArrs has stored. | A screensaver of your posters | 3 |
library.artwork.set |
Save a poster or other artwork for a title. | A custom poster plugin | New |
library.collections.read |
List collections, like a film series, and see what’s in each. | Finding the missing film in a series | 2 |
library.extras.read |
Find and play trailers and other extras. | A trailer reel | 5 |
library.hidden.read |
See the titles you’ve hidden. | A sync that skips hidden titles | 1 |
library.hidden.change |
Hide a title or unhide it. | Hiding titles by rating | 2 |
library.metadata.read |
Look up any movie, show, season or album, with reviews, related titles and anime details, and see if it’s followed. Also checks the title info service is up. | Looking a title up before adding it | 10 |
library.metadata.change |
Follow or unfollow any movie, show or album, even one that isn’t in your library yet. | A watchlist sync | 6 |
library.music.read |
Browse music: artists, albums, tracks, covers and genres. | Matching scrobbles to your albums | 10 |
library.music.change |
Add an artist and edit an album. | An artist importer | 2 |
library.never-add.read |
See your never-add list. | A list sync that respects it | 1 |
library.never-add.change |
Put a title on the never-add list or take it off. | Blocking a title for good | 2 |
library.tags.read |
Read your tags. | A report grouped by tag | 2 |
library.tags.change |
Create, edit and delete your own tags. | Tagging titles by where they came from | 3 |
Discover
Link to DiscoverWhat’s out there beyond your library: Home, Explore, people, outside lists and the calendar.
| Permission | What it lets a plugin do | Example | API calls |
|---|---|---|---|
calendar.read |
Read the calendar of upcoming releases. | An “out this week” message | 1 |
discover.home.read |
Read what Home shows. | A dashboard mirroring Home | 1 |
discover.explore.read |
Browse Explore: trending, top 10s, new releases, genres, streaming services and music charts. | A “what’s popular” digest | 22 |
discover.lists.read |
See the outside lists you follow. | A list status report | 1 |
discover.lists.change |
Add, edit, sync and remove outside lists. | Linking a list from another site | 4 |
discover.people.read |
Search actors and crew, see popular people, read their pages, and preview up to 100 of a person’s movies. | A “more from this director” feature | 7 |
Requests
Link to RequestsWhat people on your server ask for.
| Permission | What it lets a plugin do | Example | API calls |
|---|---|---|---|
requests.read |
Read requests and their parts, who asked, request limits, and turned-down titles. | A daily request digest | 6 |
requests.change |
Make a request, cancel one, and clear turned-down titles. | A chat bot that takes requests | 4 |
requests.approve.change |
Approve, turn down or remove other people’s requests. | Auto-approving trusted friends | 3 |
requests.limits.read |
See each person’s request limit. | A limits report | 1 |
requests.limits.change |
Change a person’s request limit. | Raising limits on weekends | 1 |
requests.users.read |
See the names of people on your server, and nothing else about them. | Showing who asked in a chat bot | New |
Downloads
Link to DownloadsThe download queue, download clients, search sources and the rules for picking releases.
| Permission | What it lets a plugin do | Example | API calls |
|---|---|---|---|
downloads.read |
Read the download queue and each download’s details, files and peers, plus matches waiting. | A queue widget | 8 |
downloads.change |
Import a finished download, mark one failed, pick its files or edition, run and pick matches, pause or resume everything, and clear finished downloads now. | Importing stuck downloads | 9 |
downloads.control |
Pause, resume, recheck or reannounce one download, or move it to the top. | Pausing during quiet hours | 5 |
downloads.delete |
Red warning. Remove a download. | Clearing stalled downloads | 1 |
downloads.held.read |
See releases HolyArrs found but is holding back, for example while it waits out a delay. | A report of what’s waiting | 1 |
downloads.held.change |
Drop held releases, one or all. No files are deleted. | Dropping releases you no longer want | 2 |
downloads.decisions.read |
See downloads that need a person to choose before HolyArrs carries on. | A reminder to decide | 1 |
downloads.decisions.change |
Decide on one of them. | Deciding from a chat message | 1 |
downloads.clients.read |
List your download clients and their categories and attempts, and read each item’s details, files and peers. Not their passwords. | A client health report | 7 |
downloads.clients.control |
Pause, resume, reorder or change the priority of one item inside a download client. | Moving one item to the top | 7 |
downloads.releases.read |
Read the result of a release check. | 1 | |
downloads.releases.change |
Check a release or a release name, choose one, or turn one down. | Grabbing a release picked in chat | 5 |
downloads.rules.read |
Read your pick rules and the TRaSH Guides profiles. | 3 | |
downloads.rules.change |
Create, edit and delete pick rules, and apply a TRaSH Guides profile to one. | Keeping rules in step with a guide | 4 |
downloads.search.read |
Search, and see past searches. | 3 | |
downloads.search.change |
Start a search for missing titles, for better copies, or for new items in source feeds. | A nightly “search missing” run | 3 |
downloads.sources.read |
List your search sources and their stats. Not their passwords. | A source stats report | 3 |
downloads.sources.control |
Pause, resume or test one search source, or run a test search on every enabled source. | Pausing a source that keeps failing | 4 |
sources.releases |
Add a search source of its own, like an indexer. | A plugin for a new site | New |
sources.downloader |
Red warning. Act as a download client. | A plugin that downloads from a new service | New |
Media files
Link to Media filesThe files on disk: imports, renames, subtitles and the holding folders.
| Permission | What it lets a plugin do | Example | API calls |
|---|---|---|---|
files.change |
Red warning. Pick, choose or translate the subtitles for a file. | A subtitle translator | 3 |
files.delete |
Red warning. Permanently delete media files, including emptying the holding folder. | A cleanup plugin that empties the holding folder after 30 days | 1 |
files.folders.read |
See your library folders and what tidying them would change. It can’t change them. | A disk space report | 2 |
files.holding.read |
See deleted media files waiting in the holding folders, like a recycle bin. | A report of what’s waiting to be emptied | 1 |
files.holding.change |
Put deleted media files back from the holding folders. | Restoring something deleted by mistake | 1 |
files.import.read |
See past imports. | 1 | |
files.import.change |
Scan a folder and import files from it by hand. | An importer for a drop folder | 3 |
files.rename.read |
Preview how files would be renamed. | 1 | |
files.rename.change |
Rename files. | 1 | |
files.subtitles.read |
See subtitle languages and which titles are missing subtitles. | 2 | |
files.subtitles.change |
Search for subtitles, and sync, clean or turn down a subtitle. | A subtitle fixer | 6 |
files.subtitle-sites.read |
List your subtitle sites. Not their passwords. | 2 | |
media.stream |
Play a file from a folder you approved. From a plugin page, HolyArrs shows its own player and the page controls it. Only the owner can play from plugin pages in 1.3.0. | A media player page | New |
Alerts
Link to AlertsEvents, messages and reports inside HolyArrs.
| Permission | What it lets a plugin do | Example | API calls |
|---|---|---|---|
alerts.read |
List your alert connections. Adding or editing them stays closed. | 1 | |
alerts.events.read |
Read the list of things that happened. | An activity feed | 1 |
alerts.events.subscribe |
Hear about things as they happen, like a new title. | A post when a movie arrives | New |
alerts.messages.read |
Read messages. | 1 | |
alerts.messages.change |
Mark messages as read. | 1 | |
alerts.reports.read |
Read reports. | 1 | |
alerts.reports.change |
File a report, mark it fixed, or reopen it. | Reporting a file with bad audio | 3 |
alerts.webhooks.send |
Send a webhook. | A home automation trigger | New |
Media servers
Link to Media serversPlex, Jellyfin and Emby.
| Permission | What it lets a plugin do | Example | API calls |
|---|---|---|---|
media-servers.read |
List your media servers, their libraries, and watch links. Not their passwords. | A “watch now” link | 3 |
media-servers.change |
Choose which libraries on a media server HolyArrs uses. | 1 |
Network and pages
Link to Network and pagesAdding to HolyArrs’ screens, outside reach, and the server’s status.
| Permission | What it lets a plugin do | Example | API calls |
|---|---|---|---|
pages.add |
Add a page under Plugins. | A stats page | New |
pages.home-widget |
Add a widget to Home. | A disk space widget | New |
pages.title-section |
Add a section to title pages. | Ratings from another site | New |
assistant.tools |
Add your own tools to HolyArrs’ MCP connection. They show up in your AI client next to the built-in ones, only for people allowed to use them. | A Trakt plugin that adds “find similar on Trakt” | New |
network.forward |
Red warning. Make HolyArrs reachable from outside your home network, as Tailscale does. | A remote access plugin | New |
sources.metadata |
Add a place HolyArrs gets title info from. | An extra anime info source | New |
system.health.read |
Read health checks, their states, and disk space. | A health widget | 4 |
system.health.change |
Run the health checks now. | 1 | |
system.jobs.read |
See running and past jobs. | A progress bar | 3 |
system.languages.read |
List languages and read a language pack. | 2 | |
system.languages.change |
Add or remove a language. | 2 | |
system.logs.read |
Read the logs. | Sending logs to your own log store | 1 |
system.schedules.read |
See scheduled jobs. | 1 | |
system.schedules.change |
Change when a scheduled job runs. | 1 | |
system.schedules.run |
Run a scheduled job now. | A “refresh now” button | 1 |
What no plugin can reach
Link to What no plugin can reachSome areas stay closed to every plugin, whatever it asks for. They’re the parts that keep you in control, so a plugin holding them could switch off the checks that keep plugins safe.
- The plugin system. Installing, approving, blocking and signing plugins, and data packs. A plugin that could reach these could approve itself or turn off the blocklist.
- Accounts and sign-in. Users, invites, two-factor and API keys. A plugin could otherwise sign in as someone or make itself a key.
- A person’s own recommendations and Explore history. A plugin acts as itself, not as a person, so it can’t read or change them.
- Connections that hold passwords. Adding, editing or testing download clients, sources, media servers, subtitle sites and alert connections, and the keys for outside services. A plugin could read or swap a password.
- Whole download clients. Client-wide controls like speed limits, pausing the whole client, bulk actions, trackers, and adding or removing items in the client. Pausing, resuming or reordering a single item is still allowed under
downloads.clients.control. - Library folders. Adding, moving, removing, scanning or tidying a library folder, so a plugin can’t point HolyArrs at your config folder.
files.folders.readonly lets it look. - Server settings and controls. Settings, backups and restore, imports from other apps, restarts, the MCP connection’s own setup, and downloading the full log file or a support bundle. These change how the whole server runs.
Memory and CPU
Link to Memory and CPUA plugin starts capped at 512 MiB of memory, 1 CPU, 256 processes and 1024 open files, on systems with cgroups v2. An author can ask for more in the plugin file. You see it on the install screen and approve it, and you can raise or lower it later on the plugin’s page.
HolyArrs è gratis. Se ti ha fatto risparmiare tempo, metti una stella su GitHub, sostienilo o offrimi un caffè.