Umbraco how to create account related pages? - asp.net-membership

I would like to create some pages related to a member account in umbraco 4.
In asp.net webforms, an account folder is created and in it are the account related pages, such as Login.aspx, ForgotPassword.aspx, etc...
Now, these pages are not actual content pages, but are more of the adminitrative type.
I've created user controls for the login, register, etc.
Should I create a document type in umbraco for each page type, and put the respective user control in each template ? what is the recommended way to do this in umbraco ?

On the content manager, just right click on the page or node you want to protect, right click on and select "Public Access".
In there you can apply permissions to individual users and/or roled based. The Roled based one will require for you to have "Member Groups".
That is it. All the security is kept on the "\App_Data\access.config" file; you can review it for more details on how they are achieving this.
hth,
-covo

Related

Joomla 3: How to set different user permissions?

I currently have a Joomla site that has 5 different departments of people accessing the backend content. Basically, everyone's looking and poking at other departments contents. So how would I set a different account for everyone and allow them to only modify their own content? E.G.
The salt department can post whatever articles they want, but they cannot modify the sugar department's article.
Does Joomla have this kind of ability or any extensions out there?
That is pretty simple on Joomla 3 system.
Firstly, you create 5 different User Groups in Joomla under Users menu.
Go to Content > Article Manager > click Options button on the top right side > Permissions Tab
In the Permissions Tab, click on each User Group and you have tons of permission to tweak such as: Create, Edit, Edit Own, ...
Hope it helps.
If you haven't configured it yet, the key term to look for is ACL (Access Control List).
Basically you need to create 5 users groups (which are not Super Users).
Here is an article to get you started:
Joomla ACL: Configuring back-end ACL

Joomla 3.1 Front end editing - Deleting and article

I have set up user group called "Article Editor" with a parent of Administrator. Within that group I have a user of "Agent" and assigned them to the "Article Editor" User group.
I have a blog page in which when they are logged in they can create an article (only with a particular category called blog) and they can edit all articles, however, I cannot get any option anywhere to enable them to delete any article they have created within the "blog" category. I have gone into the article manage and made sure the permissions are set to enable Edit, Delete and Create.
Any ideas how I allow the user to log into the front end and have the option to delete? Ive tried everything I can think of an am going around in circles now.
The Delete permission should be given only to trusted administrators (with intended access to the back-end) and can be performed in the back-end.
From your description, you don't want this group of users to have access in the back-end and even more have delete permissions, as these users if they log-in to the backend they will be able to delete many things.
These users should be able to edit state (publish/unpublish) their own articles.
So, concluding:
Give this group only front-end access, with permissions similar to the author (core joomla group) with the addition of edit state.
So they will be able to create and publish/unpublish (**addition- or trashing) their articles.

How to hide category in joomla for certain users?

Description: I’ve two top level Categories SiteContent and UserArticles.
SiteContent contains all the site pages (Home, About, Contact) and UserArticles contains 5 categories (Music, Movies, Sports, Entertainment and Other).
I’ve created a user with access level as Manager, who will be reponsible for posting content in the UserArticles categories. He has no rights to edit main SiteContent pages.
What I want to do ? Ans: When the Manager logs in using administrator panel, he should see only UserArticles category and the related articles. He should not be able to view SiteContent category and its respective articles.
What I’ve tried? Ans: I’ve edit the SiteContent - Category Permission for Manager changed to Create - Not Allowed, Delete - Not Allowed, Edit - Not Allowed, Edit State - Not Allowed, Edit Own - Not Allowed. But the category SiteContent (Category and Articles) are shown for user Manager; its only disabled. I want them to be completely removed and show only UserArticles category and its respective articles.
Thanks in advance.
This isn't possible with core Joomla but could make a layout override and include access checks for this. The theory of the Joomla administrator is that if you have access to the back and and to a particular manager that you can see it all but not do everything.

Joomla ACL: Only allow access to custom component in the backend?

I'm building a component for the backend. I don't want the users who will access it to access ANYTHING else in the backend except for this component.
I tried following these two instructions:
http://www.aclmanager.net/blog/general/31-how-to-add-basic-acl-support-to-your-extension
http://docs.joomla.org/Developing_a_Model-View-Controller_%28MVC%29_Component_for_Joomla!1.6_-_Part_14#Describing_the_ACL
I made a new User Group with a parent of public and allow admin login (which would lock them out of everything) and then tried adding the ACL code from those links above with permissions to create and edit but I just get a blank screen (not even a logout link). The "Debug Permissions Report" showed the correct permissions but nothing's showing up.
Any ideas? My next step is to manually go through every component and not allow access to that new User Group but it seems like there's an easier way.
Thanks!
In Joomla! 2.5 we regularly create "Content" only backend users that have access only to the 'com_content' component.
Going back through our steps the only thing you haven't specified is adding the new user group to a View Access Level. If you're using the standard sample content installed when setting up a Joomla! website you can add your new user group to the "Special" view access (although any will do).
If a new group has 'admin login' privileges it can login but without a View Access level it can't see anything.. it's a subtle difference but it's the way Joomla! works.

show specific content for each registered user in joomla 1.6

I am looking for a module/extension, or something that can help me to
make a page/item that only one specific user registered can see.
I would like also create a space dedicated to this user, where i can publish there pages and aticles.
Maybe using php and the variable that contains the username and an iframe, but I dont know how to doit.
Thank for the help
GMAccess is a Joomla! component that makes managing groups and access permissions easy, you will be able to create a special group and add your user (via Joomla's user management) to it and manage which pages can be viewed by that group.

Resources