Permissions on attachments
I have a public/internal site which accesses the same dataset. I have the permissions set to only show the public certain fields. This dataset also has attachments on it, that are considered for internal use only. Is possible to set permissions on the attachments, so you can only see them if you are signed in? Currently, if I go into the viewer not signed in, select a feature, and hit "view additional details" I can see the attachments.
Thanks,
Shawn.
0
-
Hi,
Unfortunately, there are no fine grain permissions built into the viewer at this time. The only permissions we provide are on map services, map layers, and site workflows.
Thanks,
Mike Ketler0 -
Thanks for the reply Mike, much appreciated! Alternatively is it possible to just completely have the viewer not display the attachments for anyone? If this is possible I can just use a workflow to grab them and lock down that workflow.
Thanks,
Shawn.0 -
You can stop the viewer from displaying feature attachments by deleting the FeatureAttachmentsProviderView from your config file.
{
"type": "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttachmentsViewModel",
"viewId": "FeatureAttachmentsProviderView",
"viewType": "geocortex.essentialsHtmlViewer.mapping.modules.FeatureDetails.FeatureDetailsProviders.AttachmentsView",
"iconUri": "Resources/Images/Icons/Toolbar/attach-24.png",
"markup": "Mapping/modules/FeatureDetails/FeatureDetailsProviders/AttachmentsView.html",
"title": "@language-feature-attachments"
},0 -
Hi John, thanks for that, it was exactaly what I needed. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer