[SPT/CWIS] Setting user privilege

Joseph Fall jfall at capcollege.bc.ca
Tue Apr 25 20:56:14 CDT 2006


Wow,
thanks Ed - that's an awesome turn around time.
 
Unfortunately the patch caused a lot of problems.  The file you sent
contains the line:
 
require_once("include/SPT--File.php");
 
But it cannot find the file SPT--File.php to include, so the system
thunders in whenever the DBEntry script is used (which seems to be a
lot).  I had a look around and can find all the other include files, but
not that one...
I also see that the original DBEntry script does NOT include this
file.
 
Wd are using version 1.4.0 - downloaded only a few weeks ago.
sorry to bug you, but have you got any ideas?
 
thanks.
...Joseph
 
=====================================================================>
Joseph Fall                          "I have met the enemy
jfall at capcollege.bc.ca         and he is us" -- Pogo
-------------------------------------
Coordinator for School of Computing Science 
Instructor   for School of Environmental Science & Management
Capilano College, North Vancouver, BC, Canada, V7J-3H5
--------------------------------------


>>> ealmasy at scout.wisc.edu 04/25/06 2:20 PM >>>

On Mon, Apr 24, at 12:51:52PM, Joseph Fall wrote:
> We really want to use the user "Access Privileges" to allow faculty
to
> add and edit their own personal resources, but to only release those
> resources after they have been verified by a librarian.
>  
> To test this, I created a "faculty" account, and gave them only
> "Personal Resource Administrator" access.
>  
> This works great, and can only edit records created by this account
-
> nice.  However, this account CAN set the "Release Resource" field to
"OK for
> Viewing", and the resource is then released for public consumption,
even
> though the account does not have "Release Flag Administrator"
access.

   This is a bug.  If you copy the attached file into the MetadataTool
   subdirectory in your SPT or CWIS installation, it should fix it.

   The MD5 sum for the file should be
6b5073afb0d82481b8c6b56e6f7b5be6,
   for anyone who wants to double-check the attachment after saving
it.

   (This patch is only for SPT or CWIS v1.4.0.)

   Ed


-- 
   Edward Almasy                                    
ealmasy at scout.wisc.edu
   Co-Director                                         1210 W Dayton
Street
   Internet Scout                                          Madison WI
53706
   Computer Sciences Department                        608-262-6606
(voice)
   University of Wisconsin - Madison                     608-265-9296
(fax)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scout.wisc.edu/pipermail/spt-cwis-users/attachments/20060425/f2496bdd/attachment-0003.html 


More information about the SPT-CWIS-Users mailing list