Re: [opennms-devel] User Management, restriction and Source Code

Azure <[email protected]> Wed, 8 Apr 2009 12:49:37 +0800
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Message-ID <[email protected]>
--===============2598836428332534623==
Content-Type: multipart/alternative; boundary=000e0cd24f24bb5654046703dc36

--000e0cd24f24bb5654046703dc36
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi All,

I also would like to know that there has any API or WEB Services or
something to access opennms data and report graphs from another system over
http or something?

On Wed, Apr 8, 2009 at 12:24 PM, Azure <[email protected]> wrote:

> Hi All,
>
> 1.
> I understand that we can not restrict specific nodes/interfaces and
> resources for specific user or group only (Except Dashboard and surveilla=
nce
> view)
>
> In the previous emails, I found information that it will implement in
> Version 2.0.
> Where can I see OpenNMS road map and time line?
>
> I think that I need to change source in java code model and controller fo=
r
> restriction. Is it correct? How much do I need to change?
>
> 2.
> For example: we request a graph like this:
>
>
> http://demo.opennms.org/opennms/graph/results.htm?reports=3Dall&resourceI=
d=3Dnode[12].interfaceSnmp[eth0-00304843a72c]&resourceId=3Dnode[12].distrib=
utedStatus[5657/213.84.134.230]<http://demo.opennms.org/opennms/graph/resul=
ts.htm?reports=3Dall&resourceId=3Dnode%5B12%5D.interfaceSnmp%5Beth0-0030484=
3a72c%5D&resourceId=3Dnode%5B12%5D.distributedStatus%5B5657/213.84.134.230%=
5D>
>
> In this case, users can easily change node ID and parameters to see other
> nodes. So I also need to check permission in the controller or model. (*I
> am not sure whether OpenNMS already have restriction for this*)
>
> *In the dashboard page*, I think that *we only filter resources in
> combobox to generate Graphs. Is it correct?*
>
> Because I am thinking to write additional page that filter resources and
> nodes for specific user only (I will map difference users/groups and
> difference nodes, then when user login, I will show their nodes only). Th=
en
> I will generate the above URL and redirect to generate their graph. But I=
f
> users can change the node ID and others, I can not continue this idea.
>
> Do I really need to implement this restriction in the backgroud controlle=
r
> or model?
>
>
> Thanks

--000e0cd24f24bb5654046703dc36
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi All,<br><br>I also would like to know that there has any API or WEB Serv=
ices or something to access opennms data and report graphs from another sys=
tem over http or something?<br><br><div class=3D"gmail_quote">On Wed, Apr 8=
, 2009 at 12:24 PM, Azure <span dir=3D"ltr">&lt;<a href=3D"mailto:tinwinaun=
[email protected]">[email protected]</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>1.=
<br>I understand that we can not restrict specific
nodes/interfaces and resources for specific user or group only (Except
Dashboard and surveillance view)<br><br>In the previous emails, I found inf=
ormation that it will implement in Version 2.0.<br>
Where can I see OpenNMS road map and time line?<br><br>I
think that I need to change source in java code model and controller
for restriction. Is it correct? How much do I need to change?<br><br>2.<br>=
For example: we request a graph like this:<br>
<br><a href=3D"http://demo.opennms.org/opennms/graph/results.htm?reports=3D=
all&amp;resourceId=3Dnode%5B12%5D.interfaceSnmp%5Beth0-00304843a72c%5D&amp;=
resourceId=3Dnode%5B12%5D.distributedStatus%5B5657/213.84.134.230%5D" targe=
t=3D"_blank">http://demo.opennms.org/opennms/graph/results.htm?reports=3Dal=
l&amp;resourceId=3Dnode[12].interfaceSnmp[eth0-00304843a72c]&amp;resourceId=
=3Dnode[12].distributedStatus[5657/213.84.134.230]</a><br>



<br>In this case, users can easily change node ID and parameters to see
other nodes. So I also need to check permission in the controller or
model. (<b>I am not sure whether OpenNMS already have restriction for this<=
/b>)<br>
<br><b>In the dashboard page</b>, I think that <b>we only filter resources =
in combobox to generate Graphs. Is it correct?</b><br><br>Because
I am thinking to write additional page that filter resources and nodes
for specific user only (I will map difference users/groups and
difference nodes, then when user login, I will show their nodes only).
Then I will generate the above URL and redirect to generate their
graph. But If users can change the node ID and others, I can not
continue this idea.<br>
<br>Do I really need to implement this restriction in the backgroud control=
ler or model?<br><br><br>Thanks
</blockquote></div><br>

--000e0cd24f24bb5654046703dc36--


--===============2598836428332534623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
--===============2598836428332534623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
--===============2598836428332534623==--