Project

General

Profile

« Previous | Next » 

Revision 5386

Added by berkley almost 14 years ago

fixed bugs associated with crud access control changes.

View differences:

CrudService.java
311 311

  
312 312
        // For Metadata and Data, insert the system metadata into the object store too
313 313
        insertSystemMetadata(sysmeta, sessionData);
314

  
315 314
        logMetacat.debug("Returning from CrudService.create()");
316 315
        EventLog.getInstance().log(metacatUrl,
317 316
                username, localId, "create");
......
762 761
        // Retrieve the session information from the AuthToken
763 762
        // If the session is expired, then the user is 'public'
764 763
        final SessionData sessionData = getSessionData(token);
765

  
766
        // TODO: Check access control rules
767 764
                
768 765
        try {
769 766
            IdentifierManager im = IdentifierManager.getInstance();
......
963 960
                    // if the localId is not acceptable or other untoward things happen
964 961
                    try {
965 962
                        logMetacat.debug("Registering document...");
966
                        System.out.println("inserting data object: localId: " + localId);
967 963
                        DocumentImpl.registerDocument(localId, "BIN", localId,
968 964
                                username, groups);
969 965
                        logMetacat.debug("Registration step completed.");

Also available in: Unified diff