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:
- Create an Item using the Item Sheet on an Item object
- Create a Secret Block of Text
- Set Players to Observer
- 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:

Player/Observer View:

Secret Code Blocks on Powers Sheets are generated with ID's:

Missing IDs on Secret Code Blocks when generated for Item Sheets:

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:

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.
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:
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:

Player/Observer View:

Secret Code Blocks on Powers Sheets are generated with ID's:



Missing IDs on Secret Code Blocks when generated for Item Sheets:
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:
System information
Additional context
Secrets function on Items using the Power Sheets, although Power Sheets don't have the Reveal/Hide button on them.