RE: [mezzanine-users] the www and non-www version of my deployment aredifferent

2018-10-30 Thread Eduardo Rivas
Mezzanine can serve different sites depending on the domain. You have two site 
records in your database, one for www and another for non-www. All content 
(pages, blog posts, etc) is independent from one site to the other. One site is 
probably empty (no content) and that’s why it looks weird when you view it.

If looks like you want to have a single site. I suggest you go to Sites in the 
admin sidebar and delete one domain. Next you’ll have to configure your public 
facing server (nginx, apache, etc) to redirect from the secondary domain to the 
primary one.

From: Amir
Sent: Tuesday, October 30, 2018 11:05 AM
To: Mezzanine Users
Subject: [mezzanine-users] the www and non-www version of my deployment 
aredifferent

Hey all

In the non-www version of my site, everything is okay. But when I enter the 
domain with www, I only see the right panel (which is a static code) and the 
footers. 
Everything that is derived from the database is not there.

When I log-in to admin panel, on the top bar I can choose between the available 
sites, when I choose the www version and I navigate to blogs, pages, etc, there 
are nothing there.

What is the problem? What have I done wrong?

Can it be due to the following line in local_settings.py??

"DOMAINS": ["myblog.com", "www.myblog.com"]
-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] the www and non-www version of my deployment are different

2018-10-30 Thread Amir
Hey all

In the non-www version of my site, everything is okay. But when I enter the 
domain with www, I only see the right panel (which is a static code) and 
the footers. 
Everything that is derived from the database is not there.

When I log-in to admin panel, on the top bar I can choose between the 
available sites, when I choose the www version and I navigate to blogs, 
pages, etc, there are nothing there.

What is the problem? What have I done wrong?

Can it be due to the following line in local_settings.py??

"DOMAINS": ["myblog.com", "www.myblog.com"]

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] The user is active but won't be able to access the admin

2018-10-30 Thread Jason Matta
So i added all permissions to the user and it worked.

 then i was able to delete all the user level permissions and it worked as 
expected with the group permissions



On Tuesday, 30 October 2018 19:14:44 UTC+10, Jason Matta wrote:
>
> Hi Thanks for replying.
>
> So i tried that, but im still getting the message. 
>
> The site is running as 127.0.0.1:8000, should that work ? maybe ive 
> missed something or need to reinstall.
>
> Assuming that did work, 
>
> If you wanted to create a site that simplified adding admin type users by 
> just selecting a predefined group, it seems a bit 
> a bit odd to have the admin users have to do it by assigning the group and 
> to select some  permission for it to work. if that makes sense. 
>
> Not critisising the product or your work, im just demo'ing it and like it 
> a lot. but this user management process could be improved, if im 
> understanding everything correctlty.
>
>
>
> On Thursday, 25 October 2018 11:24:14 UTC+10, Stephen McDonald wrote:
>>
>> You need to assign at least one site permission which defines the site(s) 
>> the user has admin access to, see the bottom of this screenshot:
>>
>> [image: Screen Shot 2018-10-25 at 12.22.52 PM.png]
>>
>> On Thu, Oct 25, 2018 at 7:21 AM Jason Matta  wrote:
>>
>>> I have created a group that has permissions to add, edit delete pages 
>>> and users.
>>>
>>> when i create a user and assign them to the group and go to save, i get 
>>> the message "The user is active but won't be able to access the admin, due 
>>> to no edit/site permissions being selected" and indeed cannot login to the 
>>> admin site
>>>
>>> i HAVE also set the staff status which should allow the user to login.
>>>
>>> looking at the mezzanine code, it checks for permissions and if it 
>>> doesnt have any, it will display that message. 
>>>
>>> Should it not check the group permissions that the user is in also? is 
>>> the group functionality broken or am i missing something.??
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Mezzanine Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to mezzanine-use...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> Stephen McDonald
>> http://jupo.org
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] The user is active but won't be able to access the admin

2018-10-30 Thread Jason Matta
Hi Thanks for replying.

So i tried that, but im still getting the message. 

The site is running as 127.0.0.1:8000, should that work ? maybe ive missed 
something or need to reinstall.

Assuming that did work, 

If you wanted to create a site that simplified adding admin type users by 
just selecting a predefined group, it seems a bit 
a bit odd to have the admin users have to do it by assigning the group and 
to select some  permission for it to work. if that makes sense. 

Not critisising the product or your work, im just demo'ing it and like it a 
lot. but this user management process could be improved, if im 
understanding everything correctlty.



On Thursday, 25 October 2018 11:24:14 UTC+10, Stephen McDonald wrote:
>
> You need to assign at least one site permission which defines the site(s) 
> the user has admin access to, see the bottom of this screenshot:
>
> [image: Screen Shot 2018-10-25 at 12.22.52 PM.png]
>
> On Thu, Oct 25, 2018 at 7:21 AM Jason Matta  > wrote:
>
>> I have created a group that has permissions to add, edit delete pages and 
>> users.
>>
>> when i create a user and assign them to the group and go to save, i get 
>> the message "The user is active but won't be able to access the admin, due 
>> to no edit/site permissions being selected" and indeed cannot login to the 
>> admin site
>>
>> i HAVE also set the staff status which should allow the user to login.
>>
>> looking at the mezzanine code, it checks for permissions and if it doesnt 
>> have any, it will display that message. 
>>
>> Should it not check the group permissions that the user is in also? is 
>> the group functionality broken or am i missing something.??
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to mezzanine-use...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Stephen McDonald
> http://jupo.org
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.