[GH-ISSUE #1047] Allow SuperAdmins to set custom rss feed for DomainAdmins and Resellers #881

Closed
opened 2026-02-27 11:14:04 +03:00 by kerem · 0 comments
Owner

Originally created by @figassis on GitHub (Feb 26, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1047

Originally assigned to: @tonioo on GitHub.

Impacted versions

  • Modoboa: 1.6.3
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

As a DomainAdmin, open the Modoboa Dashboard and see Mobodoa RSS Feed

Current behavior

DomainAdmins and Resellers see the same Modoboa RSS feed as the SuperAdmin.

Expected behavior

DomainAdmins and Resellers should see a custom RSS set by the SuperAdmin, while the SuperAdmin sees the Modoboa RSS.

Suggestions
Make the following changes to modoboa/core/views/dashboard.py

url = "https://modoboa.org/{}/weblog/feeds/"
if not self.request.user.is_superuser:
	url = "https://domain.com/feed"
posts = feedparser.parse( url.format(lang))
Originally created by @figassis on GitHub (Feb 26, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1047 Originally assigned to: @tonioo on GitHub. # Impacted versions * Modoboa: 1.6.3 * installer used: Yes * Webserver: Nginx # Steps to reproduce As a DomainAdmin, open the Modoboa Dashboard and see Mobodoa RSS Feed # Current behavior DomainAdmins and Resellers see the same Modoboa RSS feed as the SuperAdmin. # Expected behavior DomainAdmins and Resellers should see a custom RSS set by the SuperAdmin, while the SuperAdmin sees the Modoboa RSS. Suggestions Make the following changes to modoboa/core/views/dashboard.py ``` url = "https://modoboa.org/{}/weblog/feeds/" if not self.request.user.is_superuser: url = "https://domain.com/feed" posts = feedparser.parse( url.format(lang)) ```
kerem 2026-02-27 11:14:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#881
No description provided.