<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Restricting Editing in a Portal Web Application in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/restricting-editing-in-a-portal-web-application/m-p/846663#M10494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is typically why&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/portal/latest/use/create-hosted-views.htm" title="https://enterprise.arcgis.com/en/portal/latest/use/create-hosted-views.htm"&gt;Create hosted feature layer views—Portal for ArcGIS | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;were implemented. Allowing to create views on a single hosted feature layer and assign different permissions on the views will should allow you to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jan 2018 16:21:18 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2018-01-26T16:21:18Z</dc:date>
    <item>
      <title>Restricting Editing in a Portal Web Application</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/restricting-editing-in-a-portal-web-application/m-p/846661#M10492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My organization would like to have Applications that are available to view by all Users within our Portal, but have editing privileges for the Layer(s) available only to named Group(s) and/or named User(s). My plan to go about doing this is to create a custom Widget to incorporate into all such Applications through which the publisher can specify either named Group(s) and/or User(s), as well as the Layer(s) that can be edited through the Application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not very far along on this project, but I'd like to get some information before beginning:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is this an effective solution to solving the problem?&lt;/LI&gt;&lt;LI&gt;Are there other existing solutions to this problem that would be easier to incorporate?&lt;/LI&gt;&lt;LI&gt;Would is be easier to create a wrapper widget that simply verifies that the current user is approved, then enables the out-of-the-box editor widget?&lt;/LI&gt;&lt;LI&gt;Any other advice or thoughts?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 14:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/restricting-editing-in-a-portal-web-application/m-p/846661#M10492</guid>
      <dc:creator>NikolasSchmidt</dc:creator>
      <dc:date>2018-01-26T14:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Editing in a Portal Web Application</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/restricting-editing-in-a-portal-web-application/m-p/846662#M10493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have access to the ArcGis Servers a Server Object Interceptor (SOI) might work for you. We implemented a Feature Level security for a client. When the request for an edit/update/delete&amp;nbsp;came in, we grabbed it, looked up the user to see if they had access to that feature, if so, we let the call go through, if not, we send back an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's an entirely different toolset than your using on the client side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simpler option is to have two sets of Services, one for viewing and one for editing. Then lock the editable services down to just the groups you wish to have edit privileges.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to set up a proxy - send your calls through the proxy, check security and pass or reject. Again, probably&amp;nbsp;a different toolset than you might be used to. This solution also has the Client-Side only issues listed below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your current option is not a bad one either. But with a client-side only solution is that you still will have a back door. The widget might be disabled, but the rest endpoint would still be active and open.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 15:32:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/restricting-editing-in-a-portal-web-application/m-p/846662#M10493</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2018-01-26T15:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Editing in a Portal Web Application</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/restricting-editing-in-a-portal-web-application/m-p/846663#M10494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is typically why&amp;nbsp;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/portal/latest/use/create-hosted-views.htm" title="https://enterprise.arcgis.com/en/portal/latest/use/create-hosted-views.htm"&gt;Create hosted feature layer views—Portal for ArcGIS | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;were implemented. Allowing to create views on a single hosted feature layer and assign different permissions on the views will should allow you to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 16:21:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/restricting-editing-in-a-portal-web-application/m-p/846663#M10494</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-01-26T16:21:18Z</dc:date>
    </item>
  </channel>
</rss>

