How to hide individual XPages from accessing a web browser

I have a database with many xpages, sometimes xpage is not ready for release, and sometimes I just want to save some xpages in the database without user access to them.

The xpages Domino Designer view has columns for showing and hiding the design from notes and web pages, but there is no place to change these column values.

enter image description here

I want to know if there is a way to hide xpage from accessing a web browser without making changes to the xpage itself. ie changing Notes / Web values ​​or giving them a special name?

Note. I am looking for a way to do this without adding or modifying code.

+3
source share
4 answers

Unable to hide sadly (create PMR to request extension).

XPages , . , .

+2

ACL XPage, , :

<xp:this.acl>
        <xp:acl>
            <xp:this.entries>
                <xp:aclEntry right="NOACCESS" fullName="Anonymous"
                    loaded="true" name="Anonymous" type="ANONYMOUS">
                </xp:aclEntry>
        </xp:this.entries></xp:acl>
</xp:this.acl>

enter image description here

+6

- , ACL :

  • EDITOR
  • NOACCESS

, XML :

<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
    <xp:this.acl>
        <xp:acl>
            <xp:this.entries>
                <xp:aclEntry right="EDITOR" type="ROLE">
                    <xp:this.name><![CDATA[[Developer]]]></xp:this.name>
                </xp:aclEntry>
                <xp:aclEntry right="NOACCESS" type="DEFAULT" />
            </xp:this.entries>
        </xp:acl>
    </xp:this.acl>

, , ACL . , [Developer] .

:, , . NotesIn9 episode 131, , , GitFlow/HgFlow, " ". , "", , , .

+4

, : Notes , "" . - , , , .

: , , , - HTTP, .

, ( )

context.redirectToPage("/someUnrestrictedPage.xsp")

I use this in an application with an anonymous start page. It makes no sense to show this page to authenticated users, as it will most likely confuse them. Therefore, if users who are not anonymous manage to access it, for example. through the browser tab they are immediately redirected to another page. I put the code in the afterPageLoad start page.

0
source

All Articles