Skip to content
Snippets Groups Projects
Commit a4cd6ec6 authored by srosse's avatar srosse
Browse files

OO-1099: modifier can see it's own modified blog entry

parent 8cf493cf
No related branches found
No related tags found
No related merge requests found
...@@ -234,9 +234,12 @@ public class Feed implements OLATResourceable, Serializable { ...@@ -234,9 +234,12 @@ public class Feed implements OLATResourceable, Serializable {
} else if (identity.getKey() == item.getAuthorKey()) { } else if (identity.getKey() == item.getAuthorKey()) {
// scheduled items and drafts of oneself are shown // scheduled items and drafts of oneself are shown
filteredItems.add(item); filteredItems.add(item);
//fxdiff BAKS-18 } else if (item.isDraft()) {
} else if (item.isDraft() && callback.mayViewAllDrafts()) { if(callback.mayViewAllDrafts()) {
filteredItems.add(item); filteredItems.add(item);
} else if (identity.getKey() == item.getModifierKey()) {
filteredItems.add(item);
}
} }
} }
return filteredItems; return filteredItems;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment