<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:09:02 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[AAA-248] Incorrect behavior in aaa-policy in aaa version 0.17.2 (Netconf-5.0.0) </title>
                <link>https://jira.opendaylight.org/browse/AAA-248</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;Using the Netconf version 5.0.0 and which includes aaa version 0.17.2.&lt;/p&gt;

&lt;p&gt;While user is assigned with a policy to perform only &apos;GET&apos; operation is also able to perform &apos;PUT&apos; operation.&lt;/p&gt;

&lt;p&gt;Step 1: Creation of user.&lt;/p&gt;

&lt;p&gt;curl --user admin:admin --request POST &apos;http://&amp;lt;controller IP&amp;gt;:8181/auth/v1/users&apos; \&lt;br/&gt;
--header &apos;Content-Type: application/json&apos; \&lt;br/&gt;
--header &apos;Accept: application/json&apos; \&lt;br/&gt;
--data &apos;&lt;/p&gt;
{
&#160; &#160; &quot;name&quot;: &quot;abc&quot;,
&#160; &#160; &quot;description&quot;: &quot;User to perform only read operation&quot;,
&#160; &#160; &quot;enabled&quot;: 1,
&#160; &#160; &quot;email&quot;: &quot;abc@xyz.com&quot;,
&#160; &#160; &quot;password&quot;: &quot;abc@123&quot;,
&#160; &#160; &quot;domainid&quot;: &quot;sdn&quot;
}
&lt;p&gt;&apos;&lt;/p&gt;

&lt;p&gt;Step 2: Assigning role to the user&lt;/p&gt;

&lt;p&gt;curl --user admin:admin --request POST &apos;http://&amp;lt;controller_IP&amp;gt;:8181/auth/v1/domains/sdn/users/abc@sdn/roles&apos; \&lt;br/&gt;
--header &apos;Content-Type: application/json&apos; \&lt;br/&gt;
--header &apos;Accept: application/json&apos; \&lt;br/&gt;
--data &apos;&lt;/p&gt;
{
&#160; &#160; &quot;roleid&quot;: &quot;read_only@sdn&quot;,
&#160; &#160; &quot;domainid&quot;: &quot;sdn&quot;
}
&lt;p&gt;&apos;&lt;/p&gt;

&lt;p&gt;Step 3: Assigning policy to the role&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
&#160; &#160; &quot;aaa:policies&quot;: [&lt;br/&gt;
&#160; &#160; &#160; &#160; {&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &quot;aaa:resource&quot;: &quot;/rests/data/network-topology:network-topology/topology=topology-netconf/node=node_id/**&quot;,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &quot;aaa:permissions&quot;: [&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/p&gt;
{
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;aaa:role&quot;: &quot;read_only&quot;,
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;aaa:actions&quot;: [
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &quot;get&quot;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ]
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }
&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; ]&lt;br/&gt;
&#160; &#160; &#160; &#160; }&lt;br/&gt;
&#160; &#160; ]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Summary: User is assigned with authorization to perform &apos;GET&apos; operation only but it is allowing to perform &apos;PUT&apos; operation as well.&lt;/p&gt;</description>
                <environment></environment>
        <key id="36630">AAA-248</key>
            <summary>Incorrect behavior in aaa-policy in aaa version 0.17.2 (Netconf-5.0.0) </summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="gvrangan">Venkatrangan Govindarajan</assignee>
                                    <reporter username="arun.v">Arun Venkatesha</reporter>
                        <labels>
                            <label>aaa-0.17.2</label>
                    </labels>
                <created>Tue, 31 Jan 2023 12:19:13 +0000</created>
                <updated>Tue, 31 Jan 2023 12:19:13 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0443j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>