Invidious: Add "roles" for site administrators and channels

Created on 23 Jan 2019  路  5Comments  路  Source: iv-org/invidious

For folks hosting their own instance of Invidious, it is desirable to customize the home page and disable various other aspects of the site. Some of the desired options include:

  • [x] Hide watched videos or disable "top" page for smaller instances #294
  • [x] Disable creation of new users #293
  • [x] Change default home page #295
  • [x] Disable captcha #320

Although other options for administrators would also be helpful for managing instances. This issue would also include the ability to change the role of a user to administrator or channel owner, the latter of which would likely be done automatically.

In #264, there was some mention of allowing channel owners to change comment settings under videos, and I can see that functionality being extended to be more useful. I'll probably add a list here as well for any functionality that is suggested.

This issue is to help track the functionality mentioned here, and as a prerequisite for the above issues.

enhancement

Most helpful comment

Added with a39b158. You can make yourself an administrator by adding your user ID to the config like this:

#...
domain: invidio.us
admins:
- YOUR_USER_ID

Which will show the following in /preferences:
image

Saving site preferences will write to config.yml. You can also edit the config directly.

I'd like there to be a better way of designating a user admin. For assigning a user as owner of a channel, I'll plan on adding a role column to users, and refactoring this to work similarly.

For additional preferences I'd recommend opening a new issue. Since support for administrator preferences has been added I'm going to close this, and handle channel owners as a separate issue.

All 5 comments

Any progress on "Hide watched videos or disable "top" page for smaller instances"? 馃檪

Unfortunately not. I've been focusing on bug fixes before new features, so I haven't had much time to look at this. Consider this first on the list.

Unfortunately not. I've been focusing on bug fixes before new features, so I haven't had much time to look at this. Consider this first on the list.

Thank you, no worries. 馃憤

Just a side node, if you add your instance to the public instance list in the wiki, users come from alone and fill your "Top" with a lot of crazy stuff.

On February 24, 2019 8:38:46 AM UTC, Tommy Miland notifications@github.com wrote:

Unfortunately not. I've been focusing on bug fixes before new
features, so I haven't had much time to look at this. Consider this
first on the list.>

Thank you, no worries. 馃憤>

-- >
You are receiving this because you are subscribed to this thread.>
Reply to this email directly or view it on GitHub:>
https://github.com/omarroth/invidious/issues/312#issuecomment-466748845

Added with a39b158. You can make yourself an administrator by adding your user ID to the config like this:

#...
domain: invidio.us
admins:
- YOUR_USER_ID

Which will show the following in /preferences:
image

Saving site preferences will write to config.yml. You can also edit the config directly.

I'd like there to be a better way of designating a user admin. For assigning a user as owner of a channel, I'll plan on adding a role column to users, and refactoring this to work similarly.

For additional preferences I'd recommend opening a new issue. Since support for administrator preferences has been added I'm going to close this, and handle channel owners as a separate issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

haizrul picture haizrul  路  4Comments

Atrate picture Atrate  路  4Comments

arch-btw picture arch-btw  路  4Comments

EstherMoellman picture EstherMoellman  路  4Comments

tmiland picture tmiland  路  4Comments