#3174 Allow setting watchers via api/web
Closed: Fixed 5 years ago Opened 5 years ago by kevin.

In downstream https://pagure.io/fedora-infrastructure/issue/6208 a project owner would like to be able to add a pseuto-user to watch for projects. There is currently no way to do this.

Perhaps we could provide admins a section on the settings page that allows them to add arbitrary users to watch and also an api endpoint.


I think I would start with adding this to the pagure-admin CLI.

We could work up an API endpoint, but I would put the ACL associated to this endpoint to only be accessible to instance-wide admins (up to them to give API tokens with that ACL using pagure-admin to whoever they trust to use wisely).

I do not think I would want an UI for this.

Metadata Update from @pingou:
- Issue assigned to pingou

5 years ago

I'm seeing that we now have support in pagure-admin for this. So admins can get/update watch status of anyone on a project in the instance.

Do we still want an API endpoint for this?

Looks like while fixing https://pagure.io/pagure/issue/3205 we can also fix this one, so two birds one stone :)

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3320 Merged 5 years ago