In a message dated 98-08-05 22:16:55 EDT, you write:
I deleted a document off of the repository. When I try to open it
(stored on my hard drive), I receive the error message “You are not authorized to use this document”.
Can someone tell me why I’m receiving this error and how to correct it?
Here’s my take on what is happening… perhaps someone from BusObj can confirm if I am correct.
When you export the document to the repository, it gets assigned a unique document ID. This is to keep track of the information in the repository database. That ID is (apparently) stored in the document (on your hard drive) as well. In other words, there is a little tag in the file that says, “I’ve been exported and therefore am now a secured document.”
When you open the document, BusObj detects that “tag” and says, “Hold on, I have to see if you are authorized to open this document.” A quick query against the repository information will let it know if the document is still valid, and b) if you still have permission to read it. (You would expect that if you owned the document this would not be a problem.)
Fast forward: document has been deleted from the repository.
When you try to open the document, BusObj sees the same “exported tag” and tries to validate the security. Since the document no longer exists in the repository, the check fails! Therefore, you are not authorized to use this document. Strange as it may seem (since you have created the document to begin with) you cannot open that document ever again. Nor can anyone else.
Except the General Supervisor. Nothing can ever be locked away from that user (fortunately).
The General Supervisor ignores the security check, and therefor can open any document. By opening with General Supervisor and using the “Save For All Users” option, you effectively remove the “tag” that says security should be checked on the document.
The bottom line is that you should do the “Save for all users” option before deleting the document from the repository. That way you don’t have to bother the General Supervisor.
By the way, this same issue is possible when exporting universes. Once the universe has been exported, you should not delete it from the repository or the General Supervisor will once again have to ride to the rescue!
Regards,
Dave Rathbun
Integra Solutions
www.islink.com See you in Orlando in… a few weeks!
Listserv Archives (BOB member since 2002-06-25)