Try our conversational search powered by Generative AI!

ACL for blocks

Vote:
 

Hello

This page mentions that blocks can have an ACL: http://joelabrahamsson.com/episerver-7-content-pages-and-blocks/.

How would I go about modifying the ACL, in code, for a block? PageData is the only one with an ACL-property.

And, how do I go about modifying the ACL for any IContent? Is it possible?

Best regards, Emil

#118202
Mar 02, 2015 13:58
Vote:
 

Facing the same issue, did you resolve this regarding ACL on Blocks. How do I check premissions on blocks?

Regards, Tony H

#139922
Oct 09, 2015 15:50
Vote:
 

Cast the block to ISecurable

#139924
Oct 09, 2015 16:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.