Orchard CMS - Can Permissions Be Set for a Single Content Item Instance Such as a Custom Form
Asked Answered
A

2

11

In Orchard CMS I know that permissions can be set for content types. What is the suggested way to set permissions on single instances of content items. In particular, I would like to use the custom forms module to create multiple custom forms where some are only available to authenticated users while others are available to anonymous users. I am fine with creating a custom module for this but would like to have at least a general idea of what would is involved with building more granular permissions at the content item level. Thanks.

Asaph answered 17/2, 2014 at 13:52 Comment(0)
C
5

You can achieve that with the built-in Content Item Permissions feature. This enables you to attach the Content Permissions content part to your content types, which will add a set of checkboxes to the editor to customize the accessibility of each content item of that type.

Countrydance answered 17/2, 2014 at 19:27 Comment(5)
Is the content item permissions feature documented anywhere? Having trouble finding it.Asaph
Not that I know of. Do you have any trouble using it?Countrydance
I found the documentation. Was more straightforward than I expected. Thanks.Asaph
@Asaph could you please post where you found the documentation on the Content Item Permissions? I am looking for the same thing.Vespiary
The only documentation I can find is at the end of this page docs.orchardproject.net/Documentation/… which doesn't really provide any details, but the answer really is as simple as mentioned by Benedek. I went ahead and answered the question with some screenshots for a little more detail.Asaph
A
17

I was never really able to find any detailed documentation on this so here is a summary of what is involved:

1) Under "Modules" section Enable "Content Item Permissions" feature

Enable Content Item Permissions Feature

2) Under "Content Definition" find the content type you want to add permissions to and click "Edit"

enter image description here

3) Attach the "Content Permissions" part to your content type

Content Permissions Part

4) After adding the part you can manage the permission settings

enter image description here

Asaph answered 19/7, 2014 at 14:56 Comment(0)
C
5

You can achieve that with the built-in Content Item Permissions feature. This enables you to attach the Content Permissions content part to your content types, which will add a set of checkboxes to the editor to customize the accessibility of each content item of that type.

Countrydance answered 17/2, 2014 at 19:27 Comment(5)
Is the content item permissions feature documented anywhere? Having trouble finding it.Asaph
Not that I know of. Do you have any trouble using it?Countrydance
I found the documentation. Was more straightforward than I expected. Thanks.Asaph
@Asaph could you please post where you found the documentation on the Content Item Permissions? I am looking for the same thing.Vespiary
The only documentation I can find is at the end of this page docs.orchardproject.net/Documentation/… which doesn't really provide any details, but the answer really is as simple as mentioned by Benedek. I went ahead and answered the question with some screenshots for a little more detail.Asaph

© 2022 - 2024 — McMap. All rights reserved.