この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
I am trying to modify the GeoMetrixx-Gov site in AEM 6 such that a logged in user can only see THEIR drafts under "/content/geometrixx-gov/en/myforms.html". Currently, if user1 saves a draft and user2 logs in, then user2 can also see the draft saved by user1. I want user1 to only see drafts saved by them.
Looking at the code in "/etc/designs/geometrixx-gov/fp/draft/template.html" I think the servlet that sends all the drafts back is located here:
"/libs/fd/fp/components/draftsAndSubmissions/draftsAndSubmissions.jsp"
However, looking at the code of that JSP page, I'm not sure what modifications I should be making such that logged in users only see THEIR forms and not everybody else's
But in this code I can't locate how to stop users from seeing each others' drafts.
Where should I be modifying to make this happen?
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi,
Current behavior works as you expected.
In the publish instance, it shows only the 'Signed In' Users drafts under 'My Applications'
Are you looking at something else ? can you give a snapshot or more details on your usecase ?
表示
返信
いいね!の合計
Any pointers would be appreciated!
表示
返信
いいね!の合計
Hi,
Current behavior works as you expected.
In the publish instance, it shows only the 'Signed In' Users drafts under 'My Applications'
Are you looking at something else ? can you give a snapshot or more details on your usecase ?
表示
返信
いいね!の合計
Hi,
I made this screencast video of a fresh AEM 6 install to demonstrate what I'm saying. In this video you'll see that I create two users testuser1 and testuser2. When testuser1 saves a draft and then I login as testuser2, the testuser2 can see the draft saved by testuser1 (vice versa).
Video: https://www.youtube.com/watch?v=1Mg89iqv_cI&feature=youtu.be
I start my local instance like this: " java -Xmx1024M -jar AEM_6.0_Quickstart.jar "
Please let me know if I'm doing something wrong or if you have any suggestions.
Thanks
表示
返信
いいね!の合計