Hi Guys,I have a database in server which I have Reader access. Now I want to create a local replica and change my access to Editor.
Anybody know how to do that?
Thanks
Peter
Hi Guys,I have a database in server which I have Reader access. Now I want to create a local replica and change my access to Editor.
Anybody know how to do that?
Thanks
Peter
Subject: How to change the ACL when replicate a database to local?
Even if you are able to change the ACL on local to a greater level, you will not be able to make any changes to the server replica - keep that in mind.
When creating a replica, look at the Replica Settings… and see if you are able to uncheck the checkbox to “Copy Access Control List”. If not, the Manager has set the Consistent Access Control checkbox on the server. Your only option is to make a local Copy (and not Replica) in that case and of course this means no future replications are possible (up or down).
Lastly, if going the copy route, you may be interested in the contents of this page:
http://www.turtleweb.com/turtleweb.nsf/otherpageslookup/toolsandtoys?opendocument
Search for the text:
“A great Turtle tool, change the replica id of any database at will. Turn a database copy into a database replica, invaluable.”
although I’m sure the authors of the tool accept no responsibility for damage, etc…
Subject: RE: How to change the ACL when replicate a database to local?
Hi Cesar,Thanks a lot for your quick response,
Yes, the database on server was checked with “Copy Access Control list”,
The purpose why I want to create this replica is that I want to get Editor access to the local replica with the same replica id as the database in production, then I want to do some tests.
It seems that it is not a simple way to create that so far.
But if I make a local copy of database first, then I have to try to do something to make the replica id same as the original database in server. I am not sure that will exactly meet my test senario — “Test a Local replica with a editor access with a database in server with a Reader access”
thanks a lot again.
Subject: RE: How to change the ACL when replicate a database to local?
I imagine that your Admin should be able to create a local replica with a different ACL and then mail it to you (or put it on a shared drive) so that you can conduct your testing.
Subject: Yes you can change the Database Replica ID of the local copy but…
That is not likely to help because as far as I know the documents will have different Document IDs if you have used a File/Database/New Copy. Think about it if you could just make a copy of the database locally then change the Database ID to match the one on the server you would be creating a colossal security issue and anyone could get around the ACL of any database. I’m not sure that you could get around this even if you could physically make an OS copy of the database, but that might be able to accomplish what you want, but I doubt it.
Subject: RE: How to change the ACL when replicate a database to local?
Hi Cesar,I have tested the tool you mentioned in that site. this is what I did:
I made a local copy of a server database first, I changed my access to Editor in the new local copy, then I run that tool to change to replicaid same as the one in Server, I assume this is the replica of the original database in server which I only has Reader access.
But when I test my codes , it seems it does not treat these two database are replicas each other.
What my codes doing is that: if I found the database in server and I do not have editor access, then I will look for the local replica with Editor access and create a document in that local database. so my test result is that I can not find the local replica of that database on server after I changed the replica id of local db.
So the conclustion is that change the replica id manually does not means they are the replicas.
Any other ideas?
Thanks a lot again.
Subject: RE: How to change the ACL when replicate a database to local?
If you compare the replica IDs of the two databases, they should be the same if the two databases replicas. If they are not the same, the databases cannot be replicas of each other. Look at
File → Database → Properties…
then look at the second tab “i” to find the replica id.
If they are the same, then the problem is not that Notes isn’t treating the two databases as replicas, but more likely a logic problem.
Subject: RE: How to change the ACL when replicate a database to local?
Hi Cesar,Yes, after I changed the replicaid of Local copy db, I check it again, the replica id of the two db are same.
But usally if we create a replica by the notes normal way, the original database icon on workspace will have a small trangle, when I click it, it will show me all of replicas associated with this db. But for this case, I can not see that small green triangle any more.
So I think the local copy what I did is not the real replica of that db in server.
How do you think?
Subject: RE: How to change the ACL when replicate a database to local?
Well - I’m not sure how reliable that tool is (I have no relation to the authors) but I also would have to believe that if the replica id is the same, then the tool did its job.
Try this - delete the icon from the workspace, then open it again. Or use replication menu to find a replica on the local workstation. I suspect that this is just an issue of the workspace caching the icon somehow.
Subject: RE: How to change the ACL when replicate a database to local?
Hi Cesar,Yes, the tool is doing the job for changing the local database replica id same to the one on server. the replica id is same, But I am not they have replica relationship, I doublt it.
I did as you said: remove the db icon from workspace, then re-open it , then use replication ->find replica, then select Local, I got message: No replica found in the specific server.
Then I go to another way: I select the local copy, then select replication->find replica, then select the Server name,then I got same message: no replica found in specific server.
Subject: RE: How to change the ACL when replicate a database to local?
I think you have to ask your admin to make you a replica with Editor rights in that case…