<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:08:51 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-180] MDSAL-Based Dynamic Authorization no longer works</title>
                <link>https://jira.opendaylight.org/browse/AAA-180</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;Following scenario used to work fine in Oxygen-SR1 according to &lt;a href=&quot;https://docs.opendaylight.org/en/stable-oxygen/user-guide/authentication-and-authorization-services.html#mdsal-based-dynamic-authorization&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.opendaylight.org/en/stable-oxygen/user-guide/authentication-and-authorization-services.html#mdsal-based-dynamic-authorization&lt;/a&gt; :&lt;/p&gt;

&lt;p&gt;1, create 2 users (user-ro, user-full)&lt;/p&gt;

&lt;p&gt;2, create 2 roles (role-ro, role-full)&lt;/p&gt;

&lt;p&gt;3, assign roles accordingly to users (role-ro =&amp;gt; user-ro, role-full =&amp;gt; user-full)&lt;/p&gt;

&lt;p&gt;4, configure policy:&lt;/p&gt;

&lt;p&gt;{{{}}&lt;br/&gt;
&lt;tt&gt;&#160; &quot;aaa:policies&quot;: {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160; &quot;aaa:policies&quot;: [&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160; {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;aaa:resource&quot;: &quot;/restconf/config/network-topology**&quot;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;aaa:permissions&quot;: [&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;aaa:role&quot;: &quot;role-full&quot;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;aaa:actions&quot;: [&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;get&quot;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;post&quot;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;put&quot;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;patch&quot;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;delete&quot;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;aaa:role&quot;: &quot;role-ro&quot;,&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;aaa:actions&quot;: [&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;get&quot;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]&lt;/tt&gt;&lt;br/&gt;
{{&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }}}&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]&lt;/tt&gt;&lt;br/&gt;
{{&#160;&#160;&#160;&#160;&#160; }}}&lt;br/&gt;
&lt;tt&gt;&#160;&#160;&#160; ]&lt;/tt&gt;&lt;br/&gt;
{{&#160; }}}&lt;br/&gt;
&lt;tt&gt;}&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;5, This used to return 401 in Oxygen-SR1, now it returns 200&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;curl -u user-ro:123456 -v -X DELETE &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology1&lt;/a&gt;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;*&#160;&#160; Trying ::1...&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;* TCP_NODELAY set&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;* Connected to localhost (::1) port 8181 (#0)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;* Server auth using Basic with user &apos;user-ro&apos;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;gt; DELETE /restconf/config/network-topology:network-topology/topology/topology1 HTTP/1.1&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;gt; Host: localhost:8181&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;gt; Authorization: Basic dXNlci1ybzoxMjM0NTY=&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;gt; User-Agent: curl/7.59.0&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;gt; Accept: &lt;b&gt;/&lt;/b&gt;&lt;/tt&gt;&lt;br/&gt;
{{&amp;gt; }}&lt;br/&gt;
&lt;tt&gt;&amp;lt; HTTP/1.1 200 OK&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;lt; Set-Cookie: JSESSIONID=bqj10ho2znkj1u3qh9fgph6m8;Path=/restconf&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;lt; Expires: Thu, 01 Jan 1970 00:00:00 GMT&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;lt; Set-Cookie: rememberMe=deleteMe; Path=/restconf; Max-Age=0; Expires=Thu, 06-Sep-2018 05:30:51 GMT&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&amp;lt; Content-Length: 0&lt;/tt&gt;&lt;br/&gt;
{{&amp;lt; }}&lt;br/&gt;
&lt;tt&gt;* Connection #0 to host localhost left intact&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30706">AAA-180</key>
            <summary>MDSAL-Based Dynamic Authorization no longer works</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="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="gvrangan">Venkatrangan Govindarajan</assignee>
                                    <reporter username="rkosegi">Richard Kosegi</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Sep 2018 06:36:30 +0000</created>
                <updated>Sat, 15 Feb 2020 19:55:51 +0000</updated>
                            <resolved>Sat, 15 Feb 2020 19:55:51 +0000</resolved>
                                    <version>Oxygen</version>
                                    <fixVersion>Magnesium</fixVersion>
                    <fixVersion>Sodium SR3</fixVersion>
                                    <component>General</component>
                        <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|i03ijz:</customfieldvalue>

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