Laserfiche WebLink
<br />South Platte Water Rights Management System <br /> <br />Application-level permissions are recorded in the Informix table user_3uth. Entries in this <br />table grant write pennissions to different categories of SPWRMS data on a user-by-user <br />basis. A single entry, for example, may grant user X pennission to write data to the District <br />23 Water Infonnation Sheet. A separate entry might grant user X permission to write data <br />to the Denver Checksheet. <br /> <br />The user_auth table has three columns: I) login, the exact login name of the user, 2) <br />permission_code. the code which determines the kind of SPWRMS data which the user is <br />allowed to modify. and 3) name, the full name of the user. <br /> <br />To grant write permission to a user, insert a new row into user_3uth with the appropriate <br />permission_code. The next time the user starts the application, the permissions will be in <br />effect. Permission codes are described below, and in the permission_code column of the <br />table permission_codes. Only values present in the permission_codes table can be used as <br />values in user_3uth. <br /> <br />Water Information <br />Sheet <br /> <br />Write permission for a Water Information Sheet is granted to a user by adding a row to <br />user_3uth with the user's login and a permission_code equal to the Water District for the <br />sheet. The Mainstem Water Information Sheet uses a permission_code equal to 999. <br /> <br />Users who have write permission to a Water Information Sheet can also set calls in the <br />District represented by that sheet. A user who has been granted permission only to the <br />Mainstem Water Information Sheet cannot set calls, since that sheet does not correspond to <br />a district. <br /> <br />Users who have write permission to a Water Information Sheet can also modify current <br />laglloss records. <br /> <br />Checksheet Write permission to the Denver Checksheet is granted to a user by adding a row to <br />user_auth with the user's login and a permission code equal to 1000. After this entry is <br />made, and the user restarts SPWRMS. s/he is able to write to the Denver Checksheet. <br /> <br />Basinwide Basinwide write permissions are granted to a user by adding a row to usecauth with the <br />user's login and a permission code equal to -1. This allows the user to write to all Water <br />Information Sheets, write to the Denver Checksheet, set calls in all districts, and modify <br />current lag/loss records. Note that the presence of this row in user_auth makes any other <br />entries for that user superfluous. This is the only row necessary for users with basinwide <br />write permission. <br /> <br />1.5 User Configuration <br /> <br />The only requirement for setting up a UNIX user to run the SPWRMS application is to add <br />the location of the SPWRMS executable to the user's path. The best way to set the path is <br />to modify the user's.cshrc file to include: <br /> <br />set path ~ (Spath /usr/project/s-p1atte/bin) <br /> <br />6 <br /> <br />Administrators Manual <br />