Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@irif.fr>
To: galene@lists.galene.org
Subject: [Galene] Heads up: slight change to the format of tokens
Date: Wed, 08 May 2024 17:13:21 +0200	[thread overview]
Message-ID: <877cg472we.wl-jch@irif.fr> (raw)

Hi,

I've just implemented the commands /shutup and /unshutup, which make it
possible to prevent a client from sending chat messages.  It's the second
time that this 

Sending messages is now governed by an explicit permission (the right to
send messages used to be implicitly granted).  This means that:

  - if you're using the "new" configuration format, you should use
    "message" instead of "observe" if you wish to grant a user the
    permission to send messages but not to participate with video and
    audio; "observe" no longer has the right to send chat messages;
  - if you're using the old (0.8) configuration format, nothing changes;
  - if you're using galene-ldap, you need to upgrade to a version dated
    2024-05-08 or later;
  - if you're generating stateless tokens in your own software, you need
    to add the "message" value to the "permissions" field in addition to
    the "present" value.

As far as stateful tokens are concerned, Galene master transparently adds
the "message" permission when loading tokens from disk; the effect is that
it's not currently possible to generate a token without the "message"
permission (or, more accurately, it's possible to generate such a token,
but the "message" permission will be added as soon as the token is
reloaded from disk).  I intend to remove this hack sometime in late 2024.

-- Juliusz

                 reply	other threads:[~2024-05-08 15:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877cg472we.wl-jch@irif.fr \
    --to=jch@irif.fr \
    --cc=galene@lists.galene.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox