StatCan / StatCan.OrchardCore

Houses StatCan OrchardCore Modules
https://statcan.github.io/StatCan.OrchardCore/
MIT License
55 stars 12 forks source link

add ContentPermissions reference #319

Closed hyzx86 closed 2 years ago

hyzx86 commented 2 years ago

When the module is enabled separately, an inactive IContentPermissions is thrown

jptissot commented 2 years ago

Should we also put a dependency in the Manifest.cs file?

hyzx86 commented 2 years ago

Should we also put a dependency in the Manifest.cs file?

It is already here. Just the compiler does not check, and when the module is enabled, the OC will not throw an exception.

https://github.com/StatCan/StatCan.OrchardCore/blob/ddbf1c0163fd91cc2c40e56577fd5a5e1755d375/src/Modules/StatCan.OrchardCore.VueForms/Manifest.cs#L27