Skip to content
Discussion options

You must be logged in to vote

No. The server decides what every request may do; a patched or rebuilt APK can do only what its access keys allow.

  • A phone has no rights of its own. A key from the class code reads the class, writing nothing; a phone linked to Telegram writes with that account's role, checked each request (services/linking.py, effective_role) in v1 and v2 — a role taken away in the bot is gone next request.
  • Keys cannot be minted or raised. A key is a random 256-bit value, stored only as a SHA-256 hash; an administrator can revoke it in /devices.
  • Roles cannot be climbed. Nobody grants a role at or above their own (can_grant); only OWNER_IDS accounts and the class's creator (if listed there) hold «Владелец…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:server area:android for:parent A family using the app: installing, the class code, the widget, the diary, privacy
1 participant