]> git.mxchange.org Git - jjobs-war.git/commitdiff
Opps, users don't have access on admin pages .. (please cherry-pick)
authorRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 14:15:48 +0000 (16:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 21 Aug 2016 18:21:11 +0000 (20:21 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/faces-config.xml

index 9375fd1da880c85196c6236c7956e491d0adbd2e..a8068810ebe81ba9a49f14c5ffcbcbb6e3ceb9d2 100644 (file)
                        <from-outcome>admin_export_user</from-outcome>
                        <to-view-id>/admin/user/admin_user_export.xhtml</to-view-id>
                </navigation-case>
-       </navigation-rule>
-       <navigation-rule>
-               <navigation-case>
-                       <from-outcome>exception</from-outcome>
-                       <to-view-id>/exception.xhtml</to-view-id>
-               </navigation-case>
-               <navigation-case>
-                       <from-outcome>admin_list_user</from-outcome>
-                       <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
-               </navigation-case>
                <navigation-case>
                        <from-outcome>admin_list_countries</from-outcome>
                        <to-view-id>/admin/country/admin_country_list.xhtml</to-view-id>
                        <from-outcome>admin_list_contact</from-outcome>
                        <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
                </navigation-case>
-               <navigation-case>
-                       <from-outcome>admin_list_user</from-outcome>
-                       <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
-               </navigation-case>
                <navigation-case>
                        <from-outcome>admin_list_mobile_provider</from-outcome>
                        <to-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
        <navigation-rule>
-               <from-view-id>/user/login.xhtml</from-view-id>
+               <from-view-id>/guest/user/login.xhtml</from-view-id>
+               <navigation-case>
+                       <from-outcome>login</from-outcome>
+                       <to-view-id>/user/login_index.xhtml</to-view-id>
+                       <redirect>1</redirect>
+               </navigation-case>
+       </navigation-rule>
+       <navigation-rule>
+               <from-view-id>/guest/user/resend_link.xhtml</from-view-id>
                <navigation-case>
                        <from-outcome>login</from-outcome>
                        <to-view-id>/login/login_index.xhtml</to-view-id>