Description of problem: Need to modify return code from handler to have TPS error template display correctly. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fix in patch as part of 484275 Decision was made to replace DECLINED with DONE to return template correctly and stop processing of request. [builder@dhcp231-124 pki]$ svn ci -m "Bugzilla 484275 and 483304: TPS roles defined and error templates" Sending base/tps/doc/CS.cfg Sending base/tps/src/modules/tokendb/mod_tokendb.cpp Sending base/tps/src/tus/tus_db.c Sending dogtag/tps/pki-tps.spec Sending dogtag/tps-ui/dogtag-pki-tps-ui.spec Sending dogtag/tps-ui/shared/docroot/tokendb/edit.template Deleting dogtag/tps-ui/shared/docroot/tokendb/editAdmin.template Deleting dogtag/tps-ui/shared/docroot/tokendb/editAdminResults.template Sending dogtag/tps-ui/shared/docroot/tokendb/index.template Sending dogtag/tps-ui/shared/docroot/tokendb/indexAdmin.template Adding dogtag/tps-ui/shared/docroot/tokendb/searchActivityAdmin.template Adding dogtag/tps-ui/shared/docroot/tokendb/searchActivityAdminResults.template Sending dogtag/tps-ui/shared/docroot/tokendb/showAdmin.template Transmitting file data ........... Committed revision 261.
please add steps to verify this bug. thanks
Error templates include unauthorized access. Try this: 1. Create a user that has admin, agent and operator roles. (user 1) 2. Create another user that has agent and operator roles (user 2) 3. Log in as user1. You should see three tabs (admin, agent, operator). 4. Clear your cache and authenticated sessions. Click on the admin tab 5. When prompted for a cert, select user2. You should see a screen that indicates that you are not authorized to access this page. Before the fix, a blank page would have been observed.
thanks!
Created attachment 349440 [details] authorization failure error screen shot Verified - see attached screen shot