title: 2sxc - How can users View and Edit their own Drafts?
body: <p>Here is the scenario. At a large organization, all the users login to their Intranet and they are in a Staff (DNN) Role. We are building a 2sxc app to handle a very basic Classifieds Listing so the users can offer/sell items to each other.</p>
  <p>For the staff, we have a Manage My Items view, its the only module on the page. Any logged in user in the Staff role can View (DNN permissions) the page. We got it working as expected so that the user can View approved (.IsPublished) items and also Add an item as a Draft (!.IsPublished).</p>
  <p>The problem is, after the users add their item, they cannot see them. We cannot figure out how to show the Draft items at all in the View.</p>
  <p>After the staff user adds a draft item, an admin can see:</p>
  <p><a href="https://i.stack.imgur.com/g0dDf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g0dDf.png" alt="enter image description here" /></a></p>
  <p>and in the View</p>
  <p><a href="https://i.stack.imgur.com/VIDn6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VIDn6.png" alt="enter image description here" /></a></p>
  <p>But when logged in as Staff role, the View only shows:</p>
  <p><a href="https://i.stack.imgur.com/ttnoq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ttnoq.png" alt="enter image description here" /></a></p>
  <p>I've tried a number of things with Permissions on both the Content Type and the View. I experimented with GetDraft(), but that appears to serve a purpose in another scenario.</p>
  <p>The code to get the list of items looks like this:</p>
  <pre><code>@{
    var items = AsList(App.Data[&quot;Items&quot;])
      // .Where(i =&gt; i.IsPublished == false)
    ;
  }
  </code></pre>
  <p>What do I need to do so that non-Admins can also view the Drafts (.IsPublished == false) items?</p>
  <p>Note that if I upgrade the role's page (DNN) permissions from View to Edit, the draft items appear, but that defeats the purpose (in this scenario).</p>
  <p>So again, this is not a public facing page, we are using the 2sxc UI to add a content item. If I am a logged in staff user and I add an item to sell in the Classifieds, I expect a manager will later approve it, but until then, I should be able to able to see my Items (where I am the entity .Owner) that are still in Draft (not approved yet). Thanks in advance!!</p>
  <p>2sxc v13.12.1</p>
  <h3>Update:</h3>
  <p>Increased the permissions from <code>Create Draft</code> to <code>Edit Draft CRUD</code> and it made no difference, even after a DNN apppool restart.</p>