#3419 Unable to subscribe to private issue
Closed: Fixed Opened by mizdebsk.

As Pagure admin I have access to private issues, even if I'm not explicily listed as project admin/commiter. When I try to subscribe to private issues via web interface, after clicking "subscribe" button it changes name to "unsubscribe", suggesting successful operation. But in fact I'm not subscribed to the issue and after refreshing issue page I'm not listed among subscribers and I can see "subscribe" button again.


Metadata Update from @pingou:
- Issue tagged with: bug

This is with pagure-4.0.3 on pagure.io

Metadata Update from @pingou:
- Issue assigned to karsten

More info:
I couldn't get to the data with the API, but a DB dump showed that the admin uid gets added to the issue_watchers table:
INSERT INTO issue_watchers VALUES(1,'41740a1fe5bb4496a4eae219242a6385',1,1);

A forced refresh of the issue page shows the subscribe button again, even though the admin is still in the issue_watchers table.

Commit 19b3268d fixes this issue

Metadata