Joystream / Joystream/joystream

Argus: screen non-public content

Open
#4,325 0 comments 0 reactions 0 assignees View on GitHub
argus
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

# Dependency

This depends on having authentication working, as is described in this issue [#basic](https://github.com/Joystream/joystream/issues/3152)

# Background

Currently it is possible for a publisher to mark a video as "not published", as represented by this property in the query node schema

```graphql
"Whether the Video is supposed to be publically displayed"
isPublic: Boolean
```

same applies to the channel

```graphql
"Flag signaling whether a channel is public."
isPublic: Boolean
```

this signal is respected by `Atlas` currently, both at playback and browsinger/discovery layers, however `Argus` does not care.

# Proposal

Prevent anyone except (called _insiders_)

- channel collaborators
- channel owner (including WG workers+lead if owned by curator group)
- lead
- council member
- curators in group which can mutate this status

to view

- any asset used by a non-public video
- any asset used by a video in a non-public channel
- any asset used by a non-public channel

by asset I mean _everthing_, regardless of media type. If it was added in concert with creating or updating a video or channel, it is counted, so it could be subtitles, images, audio, video, etc.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.