<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for you help! At the moment I can't update my Zanata to the
newer version. but I will asap for sure! The API usage is fine at
the moment, not urgent. Anyhow, I'm still looking for a trick to
disable the project creation with my version (3.5.1) of Zanata. It
can also be something that I can change by hand as administrator
with a "quick-and-dirty" way... It is just temporary fix until I get
time to update my Zanata instance.<br>
<br>
<div class="moz-cite-prefix">Il 24/09/2015 22:14, Alex Eng ha
scritto:<br>
</div>
<blockquote
cite="mid:CAA6Xr1RndeTsK3+R-mJJT0fQRaFcHZb3yit7poS=p7s3c3aXVA@mail.gmail.com"
type="cite">
<div dir="ltr">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<ul style="font-size:12.8px">
<li style="margin-left:15px">API usage for end user. Only
admins should use API. This could be achive by disabling
the API key generation, but I'm not sure how to do it.</li>
</ul>
</div>
</blockquote>
<div>Zanata don't have the feature of disabling api key
generation for client. However, you can set the maximum
concurrent/active request from client. Another option (which
is quite ugly) is to block the url of api access from your web
server (<a moz-do-not-send="true"
href="http://yourhost/rest/*">http://yourhost/rest/*</a>).</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<ul style="font-size:12.8px">
<li style="margin-left:15px">New project creation for end
user. I work for a open source project made by several
modules and we are opening their internationalization to
the end users. Our modules are pretty standard so there
is no need to allow creation of new project. In fact the
translation for the modules that already exist (created
by us) are then sync with the source code repository via
api-client. It is possible to disable this feature (New
Project creation) as well?</li>
</ul>
</div>
</blockquote>
<div class="gmail_extra">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>We've implemented this feature in Zanata 3.8.
Only user in `project-creator` can create project
in Zanata (Administration -> Manage user). </div>
<div>If you're upgrading, all existing user will be
granted with `project-creator` role and allow them
to create project.</div>
<div> </div>
<div><a moz-do-not-send="true"
href="https://github.com/zanata/zanata-server/pull/902">https://github.com/zanata/zanata-server/pull/902</a></div>
<div><br>
</div>
<div><br>
</div>
<div><font color="#999999" face="arial, helvetica,
sans-serif"><span
style="font-size:13.3333px;background-color:rgb(253,253,253)">---------------------------------------------</span></font></div>
<div><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"><font
color="#666666" face="arial, helvetica,
sans-serif"><br>
</font></span></div>
<font color="#666666" face="arial, helvetica,
sans-serif"><span
style="font-size:13.3333px;background-color:rgb(253,253,253)">Alex
Eng</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><br
style="font-size:13.3333px">
<span style="font-size:12.8px">Globalisation Tools
Engineering</span><br
style="font-size:13.3333px">
<span
style="font-size:13.3333px;background-color:rgb(253,253,253)">DID:</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><span
style="font-size:13.3333px"><a
moz-do-not-send="true"
href="callto:+61+3514+8262"
style="text-decoration:none" target="_blank">+61
3514 8262</a></span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><br
style="font-size:13.3333px">
<span
style="font-size:13.3333px;background-color:rgb(253,253,253)">Mobile:</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><span
style="font-size:13.3333px"><a
moz-do-not-send="true"
href="callto:+614+2335+3457"
style="text-decoration:none" target="_blank">+614
2335 3457</a></span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><br
style="font-size:13.3333px">
<br style="font-size:13.3333px">
<span
style="font-size:13.3333px;background-color:rgb(253,253,253)">Red
Hat, Asia-Pacific Pty Ltd</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><br
style="font-size:13.3333px">
<span
style="font-size:13.3333px;background-color:rgb(253,253,253)">Level
1, 193 North Quay</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><br
style="font-size:13.3333px">
<span
style="font-size:13.3333px;background-color:rgb(253,253,253)">Brisbane
4000</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><br
style="font-size:13.3333px">
<span
style="font-size:13.3333px;background-color:rgb(253,253,253)">Office:</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><span
style="font-size:13.3333px"><a
moz-do-not-send="true"
href="callto:+61+7+3514+8100"
style="text-decoration:none" target="_blank">+61
7 3514 8100</a></span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><br
style="font-size:13.3333px">
<span
style="font-size:13.3333px;background-color:rgb(253,253,253)">Fax:</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><span
style="font-size:13.3333px"><a
moz-do-not-send="true"
href="callto:+61+7+3514+8199"
style="text-decoration:none" target="_blank">+61
7 3514 8199</a></span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><br
style="font-size:13.3333px">
<span
style="font-size:13.3333px;background-color:rgb(253,253,253)">Website:</span><span
style="font-size:13.3333px;background-color:rgb(253,253,253)"> </span><span
style="font-size:13.3333px"><a
moz-do-not-send="true"
href="http://www.redhat.com/"
style="text-decoration:none" target="_blank">www.redhat.com</a></span></font><br>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Thu, Sep 24, 2015 at 8:26 PM,
Alessandro Portosa <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:alessandro.portosa@eng.it" target="_blank">alessandro.portosa@eng.it</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi all,<br>
do you know how (and if) is possible to disable some
feature from a Zanata private (but open) installation. I
would avoid mainly two things:<br>
<ul>
<li>API usage for end user. Only admins should use
API. This could be achive by disabling the API key
generation, but I'm not sure how to do it.</li>
<li>New project creation for end user. I work for a
open source project made by several modules and we
are opening their internationalization to the end
users. Our modules are pretty standard so there is
no need to allow creation of new project. In fact
the translation for the modules that already exist
(created by us) are then sync with the source code
repository via api-client. It is possible to disable
this feature (New Project creation) as well?</li>
</ul>
Thanks!<span class=""><font color="#888888"><br>
Alessandro<br>
<div> <br>
<br>
</div>
</font></span></div>
<br>
_______________________________________________<br>
zanata-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:zanata-users@redhat.com">zanata-users@redhat.com</a><br>
<a moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/zanata-users"
rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<div class="moz-signature"><br>
</div>
</body>
</html>