Premium only subs are blocked from using Devvit apps
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- grpc, typescript
- Ambito
- authorization, backend-api-design
Direzione di ricerca
Start by reproducing the failure with a premium-only subreddit, a Devvit app using Devvit.addMenuItem, and the developers.reddit.com installation settings. Trace the gateway permission error and the installation-settings error; done means apps can be installed and menu actions can run for premium-only subreddits without either error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Details
Premium only subs (easiest to create via old reddit) can not use devvit apps.
Repro:
- Create a premium only sub on old.reddit using a normal user account
- Install any app from http://developers.reddit.com|developers.reddit.com that is known to add a sub menu item (eg community-hub app) to the premium only sub.
- Note that a “Something went wrong” message appears when visiting the app’s installation settings for that sub on http://developers.reddit.com|developers.reddit.com
- Note that an error message appears when the sub menu item is triggered. Decoding the error from browser console via base64 reveals a grpc permissions error
Additional info
Discord message: _Hi <@892039441093365801>, I tried installing a Devvit app on a Premium only sub (the kind you can only seem to make via old Reddit) and got an error from your gateway (decoded from base64 and redacted where indicated) when I tried to run a Devvit sub menu item action:
grpc-message:permission denied for subreddit <redacted id>, type: GOLD_ONLY grpc-status:7
Also, the app settings return a "Something went wrong" when I try visiting them on http://developers.reddit.com|developers.reddit.com. I used more than 1 premium only sub to verify its not a sub specific issue.
Suggested repro steps:
- go to old reddit using an non admin test account
- make a new "premium only" sub (or use your admin account to change the type of an existing sub to premium only)
- install to the premium only sub any random app from http://developers.reddit.com|developers.reddit.com that uses Devvit.addMenuItem to add a menu item
- attempt to trigger the menu item
- note error identical to one I have shown (bar text padding) in network tab of browser dev tools
- visit http://developers.reddit.com|developers.reddit.com community specific app page (e.g. https://developers.reddit.com/r/<your-sub>/apps/<name-of-app>) and note the error under installation settings.
I previously tried to reach out via modmail (https://www.reddit.com/message/messages/2gtch6k, https://www.reddit.com/message/messages/2jh2rs7) but the message must have gotten lost somewhere.
Is there any way you could reach out to see if this is an issue that can be fixed?_
Message author: triplebyte
Discord link: https://discord.com/channels/1050224141732687912/1050227353311248404/1342529439543590973
- Lingua principale
- TypeScript
- Stelle
- 210
- Fork
- 88
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di reddit/devvit
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
requestExpandedMode(event, "game") does not switch inline webview to the game entrypoint in Playtest Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di reddit/devvit
Issue simili
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100