display few pages according to user

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/9/2009 1:16:27 AM
Gravatar
Total Posts 40

display few pages according to user

Hi All,

 

As I want to display pages(public) to all and few pages should be restricted according to users.I tried to hide few pages from normal users other than Admin and contentadmin.But it was not working.

In properties of General also,Only two options r there, i.e., Hide from Authenticatedusers(Anyhow All users are Authenticated) and Hide from anonymous(if we wont select any type of user this will work).I cant use anyone of them,bcoz both are not working according to our requirement.

I would like to add one property in DB to that table i.e., Show to Admins Only(though which we can display the few pages according to Admin and contentadmin).

Can any one tell me,Did this solution is correct?

 

Becoz still few more doubts are eating my head,if i try to add this property?

Waiting for your Valuable replies or solutions

Thankyou In Advance

 

regards,

Yamuna.

 

2/9/2009 4:39:00 AM
Gravatar
Total Posts 18439

Re: display few pages according to user

Hi Yamuna,

I think you still have not understood the role system as I linked to it for you before. The primary way to limit page visibility and the menu filtering is done by roles not by those hide from authenticated and hide from anonymous settings. There are built in roles but you can also add your own roles and put users in roles according to your needs.

Note that members of the admins role can always access a page and see it in the menu no matter what, so if you want pages that only admins can see just don't specify any roles or specify admins role/

Look in page settings at:

Roles That Can View This Page
Roles That Can Edit This Page
Roles That Can Create Child Pages Below this Page

Hope it helps,

Joe

2/9/2009 6:30:39 AM
Gravatar
Total Posts 40

Re: display few pages according to user

hi joe,

 

Thankyou for your reply.

Actually I understood about the Role Adminstration,but the thing is, I tried as send the reply earlier it was working fine for complete page.But when in same page when two contents are there,one should be public to all where another content will be private according to user. I gave settings according to that,but it was not working,if we  give security for whole page then it will work fine.If for single content then it wont.

 

Due that reason i had posted the previous post.

 

 

 

2/9/2009 6:32:25 AM
Gravatar
Total Posts 70

Re: display few pages according to user

Currently view permission is only defined at the page level, but it is planned to add it at the content instance level soon.

Best,

Steve

2/9/2009 7:10:21 AM
Gravatar
Total Posts 40

Re: display few pages according to user

Hi steve,

Thankyou Steve for giving reply

 

 

 

2/10/2009 12:04:26 AM
Gravatar
Total Posts 40

Re: display few pages according to user

Hi Steve,

Can you tell me, When will be the Next release of Mojoportal ?

 

Thanks,

Yamuna

 

2/10/2009 1:01:17 AM
Gravatar
Total Posts 40

Re: display few pages according to user

Hi ALL,

Can any one tell me In which case Developer will run their application in Medium Trust? Actually,I want to know What is this Medium trust?

Really i am getting confused while following documentation.but i want to know clearly about this.

Can anyone help me?

Thankyou

 

Regards,

Yamuna

 

 

2/10/2009 1:56:25 AM
Gravatar
Total Posts 40

Re: display few pages according to user

Hi All,

 

Can any one give an alternate idea/Suggestion/solution,so that i can give view permissions for content too.as of now,there is no view permissions at content level,only page level exists.

 

Waiting for your valuable reply.

 

Thanks In Advance.

 

2/10/2009 4:51:46 AM
Gravatar
Total Posts 18439

Re: display few pages according to user

For now you can only set view permissions by page. So if you have a role named friends and you have content that only friends should be able to see, you must put it on a page that is only visible to friends.

In the near future we wil add view permissions at the content instance level, sometime within the next few releases.

Hope it helps,

Joe

ps about Medium Trust, its basically a security policy that limits what your code is allowed to do and many hosting companies enforce it,  see the documentation, there are links at the bottom to learn more about medium trust from the Microsoft documentation. Please remember to start a new thread when you have a new question.

2/10/2009 7:42:37 AM
Gravatar
Total Posts 40

Re: display few pages according to user

Hi Joe,

 

I am trying to select Logo for my skinlayout,but as soon as i select other than "jsavard-mojoportal" and "jsavard-subblue",the dropdownlist of logos is disappearing.

I checked in code,i dint find any code through which it is getting disappeared.

 

Did i am missing anycode or anything else here,which i need to check.

 

 

 

You must sign in to post in the forums. This thread is closed to new posts.