Feature Service layer and Editing permissions
I’ve been working through Access Control and first of all I’d like to say how great it is. I can see this being a real time saver when applying permissions and they are so easy to configure, but there are a couple of issues that I have noticed which I wasn’t sure you were aware of or if they were in the pipeline to be resolved. The issues are mainly when using Access Control in conjunction with the HTML5 viewer:
- If a ‘Denied’ permission is applied to a feature service layer, when the HTML5 viewer loads I get an Error Loading Map Services message. This kind of makes sense, as the layer is denied to current user. In the layer list, the layer is still displayed, but with the blue exclamation error symbol. In both AGOL and Geocortex Web, an error message is initially displayed but the layer is not included in the layer list. Particularly when using in HTML5, this behaviour really does limit the use of permissions on layers.
- On a feature service, if a view only permission is applied then within the HTML5 viewer the user is able to select the edit feature option and make their edits. It is only when they come to save the changes that an error message is displayed. In AGOL, the user can make the edits but are unable to save them. I could potentially see this causing some confusion.
What would be good to see is to have the layer removed from the layer list if it is denied (in HTML5). Also, when editing is not enabled within Access Control, it would be preferable to not have the option to edit (HTML5 and AGOL). If either of these are not possible, having an error message that explains to the user that they do not have the relevant permissions would be an improvement.
Thanks,
Aled
Du måste logga in om du vill lämna en kommentar.
Kommentarer
0 kommentarer