Permissions : Deny Permissions layers are still visible
We are in the process of upgrading from HTML5 2.5 to 2.6 and are having some issues setting up permissions the same.
We have "Geocortex Identity Server - Users" set up for certain County departments and "Anonymous Access - Guest" set up for public use.
After denying access for them they are obviously not accessible to those groups, but the layers/groups are still visible in our viewer. We do not want them to be visible if they are denied....
Setting up the Permissions the same in HTML5 2.5, denied groups are not visible. Am I missing something easy?
_img_ alt="OldVsNew" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906600000000BqE&feoid=Body&refid=0EM60000000DGpe" _/_img__img_ alt="Permissions" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906600000000BqE&feoid=Body&refid=0EM60000000DGpy"_/_img_
0
-
While I don't have an answer, you might want to reconsider using permissions with HTML5, since it slows the sites down quite a bit. I'm rebuilding mine to not use them - sometimes even creating new sites... 0 -
I agree with you there, but for my situation it works well. We have a small GIS department and it is much easier to manage one website than 5 websites. Because they are identical minus the department layer groups that is. 0 -
I don't have an answer either, but I'm interested to hear more about the pitfalls of permissions. I was planning on enabling them so that my staff users could save projects. I hate to create a duplicate site, but I don't want to make the viewers slower than they already are. 0 -
Bill, I use layer themes instead.
Heather, Not sure why permissions cause the slowdown - apparently it needs to look at each layer more closely somehow. I noticed it when the Base Slider first came out - went to add a buch of aerials, and they wouldn't display until waiting forever. It is possible this is fixed by now in 2.6 (LG?). Also, should not other differences with HTML5 over Silverlight. The latter relies on caching a lot of data on the client end and the Silverlight plug-in does most of the heavy lifting. With HTML5, most of the work is done on the server, with much less being downloaded. This mean sites will work better on slow internet connections, but the server then becomes the bottleneck. Making your sites smaller with fewer layers helps a lot. I'm now making a number of more dedicated sites (e.g. Parcel Viewer) to take some of the load off of our main site. Also, if you have aerial cached services, and you have a number of tiles in the service, that really slows down the sites. Go into Map Services, and remove the tiles, they aren't needed with the cache.
Here's an example of a lighter/faster site (excuse the construction):
https://maps.srcity.org/Html5Viewer/Index.html?viewer=parcel
And then here is our main public site, with basically just an HTML5 viewer added to an exsiting Silverlight site. I took out the aerial tiles, and removed permissions, but otherwise haven't begun to modify the site yet:
https://maps.srcity.org/Html5Viewer/Index.html?viewer=publiccity0 -
Also, I've never heard of permissions being required to save projects, but I haven't tried yet in HTML5... 0 -
One other thing that you should do to speed up HTML5 sites, especially if you have a few of them, is to add them to your ViewerSettings.json.js file. Otherwise, they seem to look at each and every site that you have before opening... 0 -
Thanks for all the detail, Mike. I will take a look at my site setups in light of your info. I guess what I meant to say is that at this point users must be logged in to save/open projects in GVH, which means setting up some kind of permissions? 0 -
Heather, What a pain that you have to log in to save project! I do have some sites where users log in, but the only permission I'm assigning is to the site itself... 0 -
I realize this is a fairly old question, but am seeing the same thing in 2.7. In my case i simply want to make 1 layer not visible to the general public, but have it available for staff when they login via Windows Integrated. I'm obviously missing something. Has anyone figured this out??
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000CiDW&feoid=Body&refid=0EM600000001TuB" _/_img_0 -
Hi Matt,
Do you have that layer enabled under the Windows Integrated - All Users ?
0 -
Hi Cory,
Yes, that layer is enabled under the Windows Integrated - All Users. I'm not sure why the layer is still visible when not logged in though.0 -
Hi Matt,
I am unable to recreate that with my local services. Is the service you are using publically accessible?
If so you can email me the Rest Endpoint Url at cpurnell@latitudegeo.com
Otherwise I suggest you contact our support team directly, and they can help troubleshoot the issue with you.
0 -
Hi Cory,
The service is not publicly available. I'll reach out to support.
Thanks,0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
13 kommentarer