Description of problem: Normal user can still see obsolete projects by deliberately search for it. Version-Release number of selected component (if applicable): Zanata version 1.5-SNAPSHOT (20120209-0922) How reproducible: Always Steps to Reproduce: 0. Sign in as an admin 1. Create a project TestObsolete 2. Change its status to obsolete 3. Sign out, and Sign in as an ordinary user. 4. Type "TestObsolete" in project search field. Actual results: Project "TestObsolete" is still visible. Click on it, then server returns: Error * Record not found Expected results: Project "TestObsolete" should be invisible for ordinary user.
Added filtering of obsolete projects on the project search results. Admin users can still elect to see these projects when searching. Also changed the way the project link is displayed on the results, to be in line with the project status (same way it's being done in the main project list). https://github.com/zanata/zanata/commit/65d3be042417f05f4462a8f94752bb9f48c4a4ee
VERIFIED
VERIFIED in Zanata version 1.5.0-alpha-2-SNAPSHOT (20120220-1431). Change display condition based on 'view-obsolete' in rules file. https://github.com/zanata/zanata/commit/db0ab9f310172d97a48d2e97a08e6cc0ebde9520