<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="273311" data-post-id="273311">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zachallaun" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zachallaun/120/29208_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zachallaun
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Ended up really happy with this in my own usage and it’s become a bit of A Thing™. If anyone is able to check out the <a href="https://hexdocs.pm/ex_janus/0.2.0-alpha.0/Janus.html" rel="noopener nofollow ugc">docs</a>, I’d be extremely appreciative of any feedback. Even better would be if someone had the time and willingness to run the policy generator and use it to define some auth rules for their own project:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">defp deps do
  [
    :ex_janus, "~&gt; 0.2.0-alpha.0"
  ]
end
</code></pre>
<pre data-code-wrap="sh"><code class="lang-sh">$ mix janus.gen.policy
</code></pre>
<p><img src="https://forum.elixirforum.com/images/emoji/apple/heart.png?v=15" title=":heart:" class="emoji only-emoji" alt=":heart:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="273311" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/feedback-wanted-authorization-library-with-composable-ecto-queries/52064/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-273311" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="273311"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>