<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 5:46 PM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
Matthias Wessendorf wrote:<br>
&gt; If it can be made for the next release I would say let&#39;s keep it<br>
&gt; simple for now, 3 roles :<br>
&gt;<br>
</div><div class="im">&gt; -admin : can do all the CRUD operations + creating/deleting users<br>
&gt; -developer: can do all the CRUD operations<br>
&gt; -simple: can just do read operations<br>
</div>+1 and oversimplifying here I would remove &quot;simple&quot;. If people only can<br>
read send to them a PDF :)<br>
<div class="im">&gt;<br>
&gt; The default user (admin/123) should have the &quot;admin&quot; role.<br>
&gt;<br>
&gt; Users created by the admin can have the role developer or simple<br>
</div>Probably if the server is still using the interceptor, it must support<br>
multiple roles. What should I do into the following situations?<br>
<br>
- Delete ALL the things Endpoint annotated with developer and simple:<br>
Logged in user has only the simple role and is not a developer. Should I<br>
allow them to delete?<br></blockquote><div><br></div><div>I think no delete here, since a &#39;simple&#39; can only read (a PDF :-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">&gt;<br>
&gt; Users created by the admin will have the default 123 password to be<br>
&gt; changed the first time they log in.<br>
</div>I think it was already solved on unified push server, no?<br>
<div class="im">&gt;<br>
&gt; But !<br>
&gt;<br>
&gt; The big questions remains around design, how to design that ?<br>
</div>Push the code and we refactor/improve/change it.<br>
&gt;<br>
&gt; Seb<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
abstractj<br>
<br>
<br>
</font></span><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>