Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Both

...

the Hide If

...

 and Show If

...

 macros for Visibility feature the "Match using" parameter. The following is a complete matrix of behaviors when using the parameter.

...


Anchor
all-1
all-1
“All” match case, User A who is part of Group A views content on the page:

User

Group

Authentication type

Show if/Hide if macro visibility

Explanation

User A

Group A

none

(tick)

The viewer matches User A and Group A. Authentication type is not specified.

User A

-

none

(tick)

The viewer matches User A. Group and authentication is not specified.

-

Group A

none

(tick)

The viewer matches Group A. User and authentication type is not specified.

-

-

authenticated

(tick)

The viewer is authenticated. User and group are not specified.

-

-

anonymous

(error)

The viewer does not match the anonymous condition.

User A

Group A

anonymous

(error)

The viewer matches User A and Group A but is not anonymous.

...


Anchor
all-2
all-2
“All” match case, a logged-out user views content on the page:

User

Group

Authentication type

Show if/Hide if macro visibility

Explanation

User A

Group A

none

(error)

The logged-out viewer does not match the User and Group. The authentication type is not specified.

User A

-

none

(error)

The logged-out viewer does not match the User condition. The group and authentication type are not specified.

-

Group A

none

(error)

The logged-out viewer does not match the group condition. The user and authentication type are not specified.

-

-

authenticated

(error)

The logged-out viewer does not match the authentication type. The user and group are not specified.

-

-

anonymous

(tick)

The logged-out viewer matches the authentication type. The user and group are not specified.

User A

Group A

anonymous

(error)

The logged-out viewer matches the authentication type. The user and group are not specified.

...


Anchor
any-1
any-1
“Any” match case, User A who is part of Group A views content on the page:

User

Group

Authentication type

Show if/Hide if macro visibility

Explanation

User A

Group A

none

(tick)

The viewer matches either User A or Group A.

User A

-

none

(tick)

The viewer matches User A.

-

Group A

none

(tick)

The viewer matches Group A.

-

-

authenticated

(tick)

The viewer matches the authenticated condition.

-

-

anonymous

(error)

The viewer does not match the anonymous condition.

User A

Group A

anonymous

(tick)

The viewer matches either User A or Group A.

...


Anchor
any-2
any-2
“Any” match case, the logged-out user views content on the page:

User

Group

Authentication type

Show if/Hide if macro visibility

Explanation

User A

Group A

none

(error)

The logged-out viewer does not match either User or Group.

User A

-

none

(error)

The logged-out viewer does not match the User condition.

-

Group A

none

(error)

The logged-out viewer does not match the Group condition.

-

-

authenticated

(error)

The logged-out viewer does not match the authentication type.

-

-

anonymous

(tick)

The logged-out viewer matches the authentication type.

User A

Group A

anonymous

(tick)

The logged-out viewer matches the authentication type.