localgovdrupal / localgov_news

Provides news articles and news listing pages for LocalGov Drupal
GNU General Public License v2.0
0 stars 2 forks source link

Non-existent permissions for viewing unpublished content #87

Open keelanfh opened 1 year ago

keelanfh commented 1 year ago

In the localgov_news_editor role, there are a few permissions which don't appear to have any effect:

view any unpublished localgov_news_article content view own unpublished localgov_news_article content

These permissions do not appear in the admin interface so it isn't possible to select them.

We've run into some problems with news editors not being able to view the latest (draft) version of a news article. Adding these permissions to the news editor role seems to solve that:

view any unpublished content view latest version

I'm still trying to unpick this as the setup looks a little different to what's in a clean LGD install, but I'm not sure if the intention of these permissions is being implemented. Might make sense to add those permissions to this role.

andybroomfield commented 1 year ago

Do you have the module View Unpublished installed? As that is what adds the permissions. It's used to limit news editors to unpublished news articles only, without granting the global permission.

keelanfh commented 1 year ago

Ah OK - we don't. Perhaps that should be required by this module then?