Flagship Docs is a web based open source document management system specially designed to serve as web-accessible central repository for an organization’s document distribution needs. It has role based permission system, where user can decide which documents are publicly shown , which requires a login, and which are accessible only by the owner.
Ajax based search engine allow you to search all the text that could be extracted from documents in the system. The system is written in Ruby on Rails, and uses Ferret search library for document indexing and searching and also provide per-organization control and display options.
Visit : Flagship Docs Homepage