London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Restrict access to a language

Vote:
0

Hello,

Is there an easy way to restrict access to a language e.g. www.example.com/en-za, if anyone goes to that site that isnt logged in, they will see just a login screen?

I have tried adding a location for it but it appears not to work

Regards

Ben

#160136
Sep 28, 2016 10:49
Vote:
0

Nope. Not an easy way that I know of at least if you use language versions of the same page.

Unless you have it in a separate branch in the tree structure...then it's easy. 

#160531
Sep 28, 2016 11:04
Vote:
0

Hi, you have access settings per language in admin mode, you should be able to use that, have you tried?

http://prntscr.com/cnc0lx

BR,

Marija

#160539
Edited, Sep 28, 2016 13:58
Vote:
0

Ah I missed that one!

#160540
Sep 28, 2016 14:02
Vote:
0

Doesn't that just cater for Adding or Editing landuage assets?, can that be used to lock out anonymous users from viewing that language?

#160548
Sep 28, 2016 14:47
Vote:
0

It should be that if you remove Anonymous from a language, users cannot access the entire language. I haven't been in need for the feature, so I think you'll have to test it, it should be pretty easy.

#160556
Sep 28, 2016 14:56
Vote:
0

Sadly i have tried it and it only caters for change permissions not viewing the language anonymously, oh well thank you for your help!

#160581
Sep 29, 2016 9:12
Vote:
0

Guess it makes sense not to have access rights on language level on content. A lot of extra complexity with few real benefits. Guess you'll have to settle with hiding the language from the user...

#160583
Sep 29, 2016 9:38
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.