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)
- Show challenge rules on the challenge page HOT 1
- Profile dropdown: Close menu when pressing hamburger icon again on mobile/touch devices HOT 1
- Profile dropdown: Parts of menu hidden for RTL languages
- Hamburger list doesn't show up on the friend/blocks pages HOT 1
- Donate in UAH - PayPal error HOT 5
- Chessground console error after completing a section in Learn
- Relationships with blocked person: Challenge and Chat and give wings buttons still appear HOT 1
- Broadcast: Sharing URL, more accessible
- Broadcast Round Selector: Default to last ongoing (or currently opened) round for scrolling
- Game analysis page does not render custom URL background HOT 1
- blind mode – links on profile not accessible
- Please add Hint button for puzzles
- Javascript error in Opening Tree page
- Broadcast: Notify about players without assigned FIDE ID
- Feature Request: Filter by Account Status
- Add a way to create a game for two other players to join HOT 2
- Puzzle: Wrong move glyph only appears when wrong move was played for at least 2nd time HOT 1
- ui/learn: sometimes SVG stars render black in Safari HOT 1
- Limit forum post characters HOT 1
- Styling issue in Friends list and Favorite opponents HOT 3
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.