aboutsummaryrefslogtreecommitdiffstats
path: root/src/access
diff options
context:
space:
mode:
Diffstat (limited to 'src/access')
-rw-r--r--src/access/mod.rs3
-rw-r--r--src/access/token.rs3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/access/mod.rs b/src/access/mod.rs
index f3e5f80..e223756 100644
--- a/src/access/mod.rs
+++ b/src/access/mod.rs
@@ -68,8 +68,7 @@ pub(crate) struct Capability {
/// nothing here.
pub(crate) rights: BTreeSet<String>,
/// Who granted it: a user (`user:<name>`), or for those the genesis node records, the
- /// node (its node ID). Kept so that granting on, by delegation, can come later
- /// without a new format (`future-work.md`, Authentication across nodes).
+ /// node (its node ID), kept with the capability.
#[serde(default)]
pub(crate) by: String,
/// When it was granted (Unix ms).
diff --git a/src/access/token.rs b/src/access/token.rs
index 153737e..51c2449 100644
--- a/src/access/token.rs
+++ b/src/access/token.rs
@@ -11,8 +11,7 @@
//!
//! Not Biscuit or UCAN (November 2026): a token only names a user, narrowing is asked
//! of a node (which issues a narrower one), and Biscuit would bring about a hundred
-//! crates, older versions of several of ours among them (Ed25519, SHA-2, protobuf):
-//! `future-work.md`, Authentication across nodes.
+//! crates, older versions of several of ours among them (Ed25519, SHA-2, protobuf).
use base64::{Engine, engine::general_purpose::URL_SAFE_NO_PAD as BASE64URL};
use serde::{Deserialize, Serialize};