GoogleIt Mail IT Print IT PermaLinkNotes/Domino Design Flaw: They Mysterious Link Between $KeepPrivate And An ACL Checkbox
09:03:08 PM
Written By : Richard SchwartzCategory : IBM Lotus Notes And Domino
Location : Nashua, NH

One of my clients ran into a problem today. It took me only a few minutes to figure what was going on, but I've been mulling the question of why for hours now. I've just filed a bug report in the Lotus Partner Forum, even though there's actually a technote that fully describes what is happening and indicates that it is correct behavior. There's also a thread on LDD that touches on this. Actually, it was almost a year and half from the time the problem was first posted until the connection to the ACL setting was made. It seems most people are considering it a feature, albeit a bad one. I disagree with the technote, and with the forum. It's not a feature. It's a design flaw. If it were a feature, the ACL checkbox that is actually labeled 'Replicate or copy documents' would need to be labled 'Replicate or copy documents except for the ones created by people who can't replicate or copy documents'


Here is what the technote says:


If the creator of a document has author access or above in the ACL of a particular database, however the 'Replicate or copy documents' permission is not selected for that user, then whenever that user creates a document, the $KeepPrivate field will be created and its value will be set to "1".


The $KeepPrivate item prevents users from copying, forwarding or printing the document that contains it. All users. The fact that this item is set because the creator of the document doesn't have the 'Replicate or copy documents' permission selected in the ACL makes no sense.


Consider User A and User B. User A has Manager rights to a database, with 'Replicate or Copy Documents' permission. User B has Author rights, without that permission. User B creates a document. User A, who does have the permission selected can't copy User B's document! Huh? Try it yourself! Work through some scenarios, and you'll see I'm right. The connection between the ACL and $KeepPrivate is a design flaw. .


(And btw: if you make yourself a little test database and you don't have a couple of IDs to switch between and try to fake it by changing your permissions in the ACL of a database in between operations, be sure to close out of the database in both the Notes client and Designer after each ACL change, otherwise you can easily have cached permissions mess up your tests. And also btw... it really helps to have full access administration permission available for test scenarios like this, so dropping yourself to Author rights in the ACL doesn't lock you out of making the next round of changes. Thanks for that one, IBM!)


The design flaw is this: User B's lower permissions are permanently applied to a document that he saves via the addition of a $KeepPrivate item, so even when User A accesses those documents it is User B's lower rights that are being enforced. That's the wrong way around. The restriction on User B's rights due to the lack of the checkbox in the ACL should be enforced when User B tries to copy or replicate data. Nothing User B does while legally creating or editing documents should have a side-effect that reduces User A's rights to do things with those documents.


The problem manifests in (at least) the following ways:


  • User A tries to copy the text of a field in edit mode from the doc created by User B. This fails even though User A has the permission in the ACL.

  • User A tries to copy the text of the doc created by User B while in read mode. This fails even though User A has the permission in the ACL.

  • User A tries to forward the doc created by User B. This fails even though User A has the permission in the ACL.

  • User A tries to copy the doc created by User B to the clipboard while in the view. This fails, even though User A has the permission in the ACL.


Interestingly, the $KeepPrivate item does not prevent User A from replicating the document. It was never designed to prevent replication, so that makes sense. Still, it's interesting because it illustrates the inconsistency in behavior. User A is supposed to be able to copy and replicate documents, but User A can only replicate User B's documents, not copy them.

This page has been accessed 1714 times. .
Comments :v

1. Chris Linfoot12/02/2005 07:58:17 AM
Homepage: http://chris-linfoot.net


Nice write-up and, FWIW, I think you are correct.




2. Vince Schuurman12/02/2005 08:45:25 AM
Homepage: http://blog.vinceschuurman.com


Hehe, try remove the flag for anonymous users
http://codestore.net/store.nsf/unid/BLOG-20030925?OpenDocument&count=-1
Allthough I think they fixed that one in 6.0.3.




3. Richard Schwartz12/02/2005 09:56:04 AM
Homepage: http://www.rhs.com/poweroftheschwartz


@Vince: Slightly different issue there, but similar. I had forgotten about that one, however. Thanks for reminding me.

@Chris: Thanks




4. Bernd Vollmer05/24/2007 02:23:40 AM


If you are allowed to change the design of the database, then you may add the $KeepPrivate item with a value of "0" (e.g. as a hidden computed-when-composed field) to the form. This avoids, that this item is set to "1", if the creator of the document doesn't have the 'Replicate or copy documents' permission selected in the ACL.




5. vesoftware11/05/2013 10:24:21 PM
Homepage: http://vesoftware.blogspot.com/2013/10/itupokercom-agen-poker-online-indonesia.html


Agen Bola Promo 100% SBOBET IBCBET Casino Poker Tangkas Online
http://vesoftware.blogspot.com/2013/10/agen-bola-promo-100-sbobet-ibcbet.html
ITUPOKER.COM AGEN POKER ONLINE INDONESIA TERPERCAYA
http://vesoftware.blogspot.com/2013/10/itupokercom-agen-poker-online-indonesia.html
alfaonline.com : Toko belanja online murah, Promo heboh jual barang hanya Rp 1,-
http://vesoftware.blogspot.com/2013/10/alfaonlinecom-toko-belanja-online-murah.html
BELAJAR SEO
http://balapseo.blogspot.com/




6. cialis_pills09/09/2016 01:02:02 PM
Homepage: http://fastdelivery2cpills.com/



http://fastdelivery2cpills.com/ ,




7. chenyingying10/17/2016 12:10:26 AM


http://www.seattleseahawksjerseys.us.com
http://www.canadagooseoutlet.eu.com
http://www.louisvuittonoutletdeals.us.com
http://www.uggbootsuk.com.co
http://www.raybansunglasses.me.uk
http://www.cheap--nfljerseys.us.com
http://www.bostoncelticsjerseys.com
http://www.giuseppe-zanotti.us
http://www.louisvuittonoutlet.net.co
http://www.jordan4.net
http://www.coachfactoryoutletclearances.us.com
http://www.tomsshoesuk.org.uk
http://www.louisvuittonparis.fr
http://www.pradahandbags.net
http://www.ralphlaurenoutletuk.in.net
http://www.cartierwatches.in.net
http://www.nike-rosherun.in.net
http://www.raybanoutlet.net.co
http://www.cincinnatibengalsjerseys.us.com
http://www.michaelkorsoutlet-onlinestore.us.com
http://www.adidasshoes.net
http://www.outlet-celine.com
http://www.uggsoutlet.de.com
http://www.jordan13.org
http://www.adidasoutletshoes.com
http://www.uggsbootsstore.com
http://www.canadagoosejackets.com.co
http://www.miamiheatjerseys.us.com
http://www.michaelkors--outlet.us.org
http://www.coachfactoryoutletonline.com.co
http://www.coachfactory-outlet.in.net
http://www.cheapoakleysunglasses.net.co
http://www.montblanc-pens.name
http://www.uggsoutlet.gr.com
http://www.michael-kors-handbags.us.org
http://www.clevelandcavaliersjerseys.us.com
http://www.ralphlauren-outlet.net.co
http://www.uggbootssale.de.com
http://www.pradaoutlet.net.co
http://timberland.officialfree.net
http://www.airmaxssale.com
http://www.canada-gooseoutlet.name
http://www.uggssale.com.co
http://www.louisvuitton.nom.co
http://www.nfljerseyswholesales.us
http://www.toryburch-outlet.in.net
http://www.louboutinshoessale.com
http://www.ugg-store.co.uk
http://www.nikeoutletstore.us.com
http://www.coachoutletstoreonlineclearances.com.co
http://www.gucci-outlet.name
http://www.ralphlaurenclearance.in.net
http://www.monclerjackets.com.co
http://www.raybanssunglasses.com.co
http://www.louisvuitton-discount.com
http://www.oakleyvaultoutlet.in.net
http://www.aididasyeezy.org.uk
http://www.cheapburberryoutlet.name
http://www.hermesbagusa.com
http://www.nike-airmaxpascher.fr
http://www.oklahomacitythunderjerseys.us.com
http://www.katespade-handbags.eu.com
http://www.adidas-yeezy.us.com
http://www.get-louisvuittonoutlet.com
http://www.uggcanada.in.net
http://www.newenglandpatriotsjerseys.us.com
http://www.christianlouboutinoutlet.com.co
http://www.coachoutletstoreonlineclearances.us.org
http://www.louisvuittonoutlet.de.com
http://www.burberry-outlet.com.co
http://www.coachfactoryoutletonlinesale.us.com
http://www.supra-shoes.net
http://www.raybansunglassess.com.co
http://www.ralphlaurenoutletonline.com.co
http://www.louis-vuittonoutlet.com.co
http://www.niketrainers.uk
http://www.authenticlouisvuittonhandbags.us.com
http://www.rayban-sunglasses.com.co
http://www.louis-vuittonoutlet.us.com
http://www.abercrombiekidsoutlet.name
http://www.true-religionoutlet.net.co
http://www.cheaprolexforsale.com
http://www.ralphlaurenuk.com.co
http://www.michaelhandbagsoutlet.us.com
http://www.michael-korsoutlets.eu.com
http://www.louisvuitton.me
http://www.kevindurantshoes.name
http://www.abercrombieoutletonline.cc
http://www.michaelkorsoutletforsale.com
http://www.jordansforsale.in.net
http://www.sunglassesoakley.com.co
http://www.coachcanadaoutlet.com.co
http://www.oakley-sunglasses.net.co
http://www.pittsburghsteelersjerseys.us.com
http://www.christianlouboutinsale.me.uk
http://www.adidassuperstar.name
http://ugg.uggsstore.eu
http://www.ralph-lauren.me.uk
http://www.lebronjames-shoes.net
http://www.canadagoose.de.com
chenyingying20161017




8. dongdong806/28/2017 11:47:15 PM


http://www.katespadeoutletstore.us.org
http://www.mamiundich.ch
http://www.adidas-nmdr1.us.com
http://www.michaelkorsonline-outlet.us.com
http://www.lecoqsportifshoes.us.com
http://www.coachfacyoryoutletonlinee.us.com
http://www.true-religion.me.uk
http://www.christianlouboutin.name
http://www.nikeairforce1.in.net
http://www.christianlouboutinoff.us
http://www.cheapoakleysunglasses.net.co
http://www.coachoutletonlineshop.us.com
http://www.softworx.it
http://www.louboutinparis.fr
http://www.wholesaleray-bansunglasses.us.com
http://www.converseshoesoutlet.us.com
http://www.fitflops.org
http://www.montblanc.com.co
http://www.adidas.in.net
http://www.energimamerking.no/canada-goose.html
http://www.oakleys-sunglassesoutlet.us.com
http://www.manchesterunitedjersey.co.uk
http://www.outletpolo-ralphlauren.us.com
http://www.grupolanda.es
http://www.energimamerking.no/ray-ban.html
http://www.recoilmag.com.au/christian-louboutin.html
http://www.burberrystore.us.com
http://www.hermesbeltoutlet.com
http://www.adidas-nmd.co.uk
http://www.archivigramsci.it
http://www.toryburchoutletsonline.us.com
http://www.uggbootsclearance.net.co
http://www.replica-watches.us.com
http://www.cheapchristianlouboutinshoes.us.com
http://www.the-northfaceoutlet.net.co
http://www.catboots.us.com
http://www.adidaszxflux.org.uk
http://www.sunglassesoakley.com.co
http://www.guccishoes.net.co
http://www.michaelkorsoutletstores.us.org
http://www.tory-burchoutletonline.us.com
http://www.tretronik.se
http://www.jaggabite.nl
http://www.noltingorgelgendringen.nl
http://www.christianlouboutinoutletusa.us.com
http://www.mlbjerseys.org
http://www.michael--kors--canada.ca
http://www.outletslongchamp.us.com
http://www.recoilmag.com.au/michael-kors.html
http://www.columbiasportswear.in.net
http://www.newbalance-shoes.us.com
http://www.mcmhandbags.us.org
http://www.adidassoccershoes.us
http://www.birkenstock.us.org
http://www.clarks-shoes.in.net
http://www.nikeoutlet-online.com
http://www.nylonic.co.uk
http://www.oakleysunglassescanada.ca
http://www.gosl.co.uk
http://www.recoilmag.com.au/rolex.html
http://www.coachoutletpurses.us.com
http://www.sproeiendekutjes.nl
http://www.nikeroshe.us.com
http://www.calvinklein.co.com
http://www.truereligion-jeans.com.co
http://www.nikefootballboots.org.uk
http://www.nfljerseyswholesalecheap.us.com
http://www.michaelkorsoutletsonlinesale.us.com
http://www.nikeroshe.org.uk
http://www.burberryonlineoutlet.net.co
http://www.nikefactory-outlet.us.com
http://www.nikehuarache.in.net
http://www.mbt.us.com
http://www.cheap-mlb-jerseys.us.com
http://www.rayban-sunglasses.com.co
http://www.rosherun.org
http://www.christianlouboutinsale.org.uk
http://www.mbt-shoes.in.net
http://www.maccosmeticsonline.us.com
http://www.cheapnhljersey.us.com
http://www.kobeshoes.us.com
http://www.adidastrainers.uk
http://www.adidassuperstar.name
http://www.coachwallets.us.com
http://www.nikesb.us
http://www.recoilmag.com.au/adidas-yeezy.html
http://www.coach-factoryonline.us.org
http://www.truereligion.net.co
http://www.katespadeoutletsale.us.com
http://www.nikehuarache.me.uk
http://www.energimamerking.no/ugg.html
http://www.yeezys350boostv2.us.com
http://www.poloralphlauren-outlet.com
20176.29wengdongdong




Enter Comments^


Email addresses provided are not made available on this site.





You can use UUB Code in your posts.

[b]bold[/b]  [i]italic[/i]  [u]underline[/u]  [s]strikethrough[/s]

URL's will be automatically converted to Links


:-x :cry: :laugh: :-( :cool: :huh: :-) :angry: :-D ;-) :-p :grin: :rolleyes: :-\ :emb: :lips: :-o
bold italic underline Strikethrough





Remember me    

Monthly Archive
Responses Elsewhere



About The Schwartz

rss.jpg


All opinions expressed here are my own, and do not represent positions of my employer.