Skip to main content

revoke_feed

Function revoke_feed 

Source
pub fn revoke_feed(
    conn: &Connection,
    feed_id: &str,
    actor_user_id: &str,
    is_owner: bool,
) -> Result<bool, String>
Expand description

Revokes a feed. An owner may revoke any feed; a sub-user only their own — enforced here rather than trusted to the caller, since this is the one place that decides whether a URL someone thought they killed still works.