How to give public access to files under webcontent in lotus domino

拜拜、爱过 提交于 2019-12-24 15:49:34

问题


I have a domino application with XPages that i want to be public. So, i set in the ACL the "Default" to Depositor level with read public documents option, so as to make it public.

When i want to use an image resource i go to its properties security tab and i enable the "available to public access users" checkbox.

Now, I want to use font-awesome in my application and i have font-awesome's folder with its subfolders and files under webcontent folder.

How can i make them public? (in a non-public app, font-awesome works normally with font-awesome's folder under webcontent folder)


回答1:


I simply created an agent to set the flag. You can get the code here. I use it for an Angular app that I have added to the NSF.

HTH /John




回答2:


They still get registered as design notes inside the NSF (which is why they're picking up the default visibility), so I think the only real option is to run an agent to update their visibility, explicitly. Sven Hasselbach has blogged about this topic a couple times (at least on interacting with items in the WebContent folder, programmatically) and is worth reading. Ultimately, I try to put these sorts of public agnostic, common resources into my Domino /Data/domino/html/ path, so as to have it always public (that path is always publicly visible), and available to be set in a theme .

[Update] See the link Per Henrik Lausten posted in the comments to the Q for details. [/Update]



来源:https://stackoverflow.com/questions/31520079/how-to-give-public-access-to-files-under-webcontent-in-lotus-domino

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!