Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  ucsb 976 about 22 years Jing Tao Method getGourps was revised. Attributes variab...

Latest revisions

# Date Author Comment
976 03/22/2002 02:24 PM Jing Tao

Method getGourps was revised. Attributes variables were set there. Other wise, when it caught a referral exception and started a thread, this will caused a exception problem. When string array groups were returned by method getGroups in getPrincipals method, we should check if the groups is null or not. Otherwise it will cause a exception problem. This revise is for bug 445.

975 03/18/2002 05:02 PM Jing Tao

In hasPermission method, a situation was considered: if no user and group, the permssion will be true. This is for the command line invocation.

968 03/08/2002 02:41 PM Jing Tao

Method endElement in AccessControList was revised. A feature that put access document itset into xml_access was added.

966 03/07/2002 02:14 PM Jing Tao

In hasPermission method, a rule for access document is implements. If user want to write a access document, it should hhave "all" permission.
The permission for access document now is looking up in xml_access table directly, rather get same permission to data set document.

965 03/06/2002 06:30 PM Jing Tao

In order to increase data file docid, method registerDocument was revised. Now it not only insert a new data file record to xml_documents table, but also can update the data file documents. Moreover, it can archieve the old version to xml_revisions table. Two other private methods were added to handl these futures: deleteXMLDocuments and getLatestRevisionNumber.

963 03/06/2002 04:17 PM berkley

fixed my tagging error

962 03/06/2002 03:58 PM berkley

some small changes I had to make to get the QAENGINE demo to work right. this should be committing in a branch

961 03/06/2002 09:00 AM Jing Tao

We decided that the permission for a user to an access documents is as same as to the data set document(which contains the access document). In order to do this, we need to look-up xml-relation table. If we could find the data set document id, just check the id. If we couldn't find one, we need check if the user is owner. If it is, has permission. Otherwise, doesn't have.

959 03/05/2002 01:14 PM Jing Tao

Add a new method getDataSetId to the class. The permission policy for access documents is: the user will have the same permission as data set file. (There is no entry in xml_access table for access document.

958 03/05/2002 01:11 PM Jing Tao

Add a throwing exception in hasPermission and hasReadPermission methods.

View revisions

Also available in: Atom