<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Jason,<div>it looks like you could use contributor_profile content type for it.</div><div>More info:&nbsp;<a href="https://github.com/searchisko/searchisko/issues/24">https://github.com/searchisko/searchisko/issues/24</a>&nbsp;resp.&nbsp;<a href="https://github.com/searchisko/searchisko/blob/master/documentation/rest-api/content/contributor_profile.md">https://github.com/searchisko/searchisko/blob/master/documentation/rest-api/content/contributor_profile.md</a></div><div><br></div><div>ATM this profile is created when you “log in” to Searchisko via&nbsp;<a href="http://dcp-jbossorgdev.rhcloud.com/v1/rest/auth/status">http://dcp-jbossorgdev.rhcloud.com/v1/rest/auth/status</a></div><div>Once task indexer will be in place (<a href="https://github.com/searchisko/searchisko/issues/31">https://github.com/searchisko/searchisko/issues/31</a>) then you’ll get all contributor profiles for all contributors.</div><div><br></div><div>Search query example:&nbsp;</div><div><a href="http://dcp-jbossorgdev.rhcloud.com/v1/rest/search?sys_type=contributor_profile">http://dcp-jbossorgdev.rhcloud.com/v1/rest/search?sys_type=contributor_profile&amp;field=_source</a></div><div><br></div><div><br></div><div>WDYT?</div><div><br></div><div>Libor</div><div><br><div apple-content-edited="true">
<div>Libor Krzyžanek</div><div><a href="http://jboss.org">jboss.org</a> Development Team</div>
</div>
<br><div><div>On 13 Feb 2014, at 18:10, Jason Porter &lt;<a href="mailto:jporter@redhat.com">jporter@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">What I'm looking to do right now is simply access the GET /rest/v1/contributor endpoint during site gen to pull the list of contributors we know about. I could do the search (still requiring the superuser) one at a time, but I'd really prefer to do a bulk request once than many small requests. Ideally we'd be able to add information about the user which may not be in the DCP (twitter handle, gravatar, etc.), but that isn't a must have that right now.<br><br>Honestly the authorization scheme currently in place in searchisko is a bit sub par (all or nothing). I've noticed we're using CAS and some role based checking scheme, further fleshing this out to be a bit more fine grained (at least read permissions for other trusted users) would be very helpful.<br><br>----- Original Message -----<br><blockquote type="cite">From: "Lukas Vlcek" &lt;<a href="mailto:lvlcek@redhat.com">lvlcek@redhat.com</a>&gt;<br>To: "Jason Porter" &lt;<a href="mailto:jporter@redhat.com">jporter@redhat.com</a>&gt;<br>Cc: <a href="mailto:searchisko-dev@lists.jboss.org">searchisko-dev@lists.jboss.org</a>, "Libor Krzyžanek" &lt;<a href="mailto:lkrzyzan@redhat.com">lkrzyzan@redhat.com</a>&gt;, "Vlastimil Elias" &lt;<a href="mailto:velias@redhat.com">velias@redhat.com</a>&gt;<br>Sent: Thursday, February 13, 2014 8:12:16 AM<br>Subject: Re: [searchisko-dev] adding a superuser?<br><br>Hi Jason,<br><br>if I understand correctly you want to use<br><a href="http://docs.jbossorg.apiary.io/#managementapicontributors">http://docs.jbossorg.apiary.io/#managementapicontributors</a> API but you would<br>prefer using different account than the superuser (jbossorg by default),<br>right? Do you think you can give me some example of use cases that you need<br>to handle? Internal management of contributors is quite delicate process (in<br>terms of how it is related to other systems) so we need to be sure that we<br>would not break anything by opening it for other [non-]superusers.<br><br>BTW both Libor and Vlastimil are more knowledgable about internals of process<br>behind contributors management.<br><br>You are correct that currently only one superuser account is allowed.<br><br>Regards,<br>Lukas Vlcek<br><a href="http://jboss.org">jboss.org</a> Development Team<br><br>----- Original Message -----<br><blockquote type="cite">Its looking more and more like I'll need to be able to access the<br>contributor<br>service from the JBoss Developer build. I'd prefer to only use one user if<br>possible to handle all communication with the DCP/Searchisko. Currently I<br>believe only the jbossorg user is the only superuser. How do we go about<br>adding another one? I did some searching in the code base and configuration<br>files but didn't see anything, maybe I missed it. Any thoughts?<br>_______________________________________________<br>searchisko-dev mailing list<br><a href="mailto:searchisko-dev@lists.jboss.org">searchisko-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/searchisko-dev<br><br></blockquote><br></blockquote></blockquote></div><br></div></body></html>