Skip to content

[BUG] Secret Text isn't hidden for players of Items using the Item Sheet #546

@Mister-Nebbers

Description

@Mister-Nebbers

Describe the bug

Players with Observer access can see the Secret text when using Secret code blocks on the Description of an Item with the Item Sheet.
When Secret code blocks are used on the the Description of a Power, however, is appropriately hidden.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Create an Item using the Item Sheet on an Item object
  2. Create a Secret Block of Text
  3. Set Players to Observer
  4. Players see Secret Text

Expected behavior

The Reveal/Hide button should be available for Owners of the Item object to change, and the secret text should be hidden from non-owners viewing the Item object

Screenshots

GM/Owner View:
Image

Player/Observer View:
Image

Secret Code Blocks on Powers Sheets are generated with ID's:
Image
Missing IDs on Secret Code Blocks when generated for Item Sheets:
Image
When an ID is pasted into the section on an Item Sheet, the Reveal/Hide button appears, but it doesn't function on the Item Sheet when viewed by Players/Observers, the text is instead always visible:
Image

System information

  • OS: Server Hosted on Linux (For Native Foundry)
  • Browser: Both Players & GM using Firefox (For Browser Foundry)
  • Foundry Version: v12.331
  • System Version: 1.34.0

Additional context

Secrets function on Items using the Power Sheets, although Power Sheets don't have the Reveal/Hide button on them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions