Comments (4)
Most likely mod scope missing on token
from lila.
still happening?
from lila.
It seems to me that it is possible to update the period
value via API.
The user account needs to be a Study/Broadcast Admin,
and the token that the user account uses to access the API needs to have the scopes web:mod
, study:write
and study:read
(possibly ok without study:read
)
Here's an example which creates a broadcast round with a period (42s),
and then updates the round with a new period (20s),
https://gist.github.com/tors42/49b74ee441a767f9e7e7bfc528fe8085
from lila.
As expected, a Studyadmin does not have access to web:mod
(to create a token)
@ornicar The period that is necessary for broadcasters
lila/modules/oauth/src/main/ui/TokenUi.scala
Lines 117 to 120 in 3d248d8
from lila.
Related Issues (20)
- BC : Player mapping for ΓΈ to o
- Twitch chat for streamers frame is too small. HOT 2
- Paypal script cannot execute on the Donate page HOT 2
- Show "My Mark" in appeal for rankban
- Brave Browser does not have the option to select Stockfish 16 NNUE engine on analysis board HOT 1
- Please add simple Blue, Red, Orange Boards
- link to "Skip this move" while learning from mistake looks misaligned HOT 1
- Broadcast - PGN Order - pushed vs exported HOT 3
- Advanced Game Search uses wrong query param for dates
- no styling on create streamer form
- Feat: add advanced message setting for user privacy
- Broadcast: difficulties seeing the schedule HOT 2
- game: when board flips the country flags don`t HOT 2
- Feat: ability to retrieve player rating in teambattle scores
- Feature request: Team chat API HOT 8
- X2d Cooke Chess Pieces HOT 2
- External engine not connecting to Lichess HOT 5
- Lichess API doesn't support read Swiss max parameter even though its possible to create Ux tournaments HOT 2
- Improve player hovercard games and joined HOT 1
- Long games don't get anayzed completely HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lila.