Hi all, I've done some work on a system information page for mifos (see https://mifos.dev.java.net/issues/show_bug.cgi?id=1535). It currently provides the following information:
- Application database version (value in DATABASE_VERSION table) - Database vendor and version - JDBC driver vendor and version - Java vendor and version - Application server vendor and version - Subversion revision that the application was built from But I need some help with the permissions stuff please. Because this requires a new jsp page, i need a new activity id. I found some details on how to do this here<http://article.gmane.org/gmane.comp.finance.mifos.functional/550>. So below are the changes I've made to latest-data.sql: INSERT INTO LOOKUP_VALUE(LOOKUP_ID,ENTITY_ID,LOOKUP_NAME) VALUES(604, 87, 'Permissions-CanViewSystemInfo'); INSERT INTO LOOKUP_VALUE_LOCALE(LOOKUP_VALUE_ID,LOCALE_ID,LOOKUP_ID,LOOKUP_VALUE) VALUES(947, 1, 604, NULL); INSERT INTO ACTIVITY(ACTIVITY_ID,PARENT_ID,ACTIVITY_NAME_LOOKUP_ID,DESCRIPTION_LOOKUP_ID) VALUES(227,151,604,604); INSERT INTO ROLES_ACTIVITY(ACTIVITY_ID,ROLE_ID) VALUES (227,1); INSERT INTO DATABASE_VERSION(DATABASE_VERSION) VALUES(177); I've also written a regsiter177() method in DatabaseVersionPersistence, and then ran ant build_db, but when I try to navigate to the page I get a permissions error: "You do not have permissions to perform this activity. Contact your system administrator to grant you the required permissions and try again." What have I missed? Thanks - Steve
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
