Active
Project:
Node Profile
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2009 at 10:59 UTC
Updated:
4 Feb 2010 at 13:58 UTC
After create profil (during registration), user logged, in own account can only see in the area profile only the tab View and not also Edit; so cannot to change own profile.
I also assigned all perm "admin user" and "access user profile" but not work.
Only admin can see also Edit tab in own area profile.
Comments
Comment #1
xjmI saw the same behavior with the 1.4 version (it did not happen in 1.3). It seems to break the user profile edit page so that users cannot edit anything.
Comment #2
xjmI should also note that going to user/x/edit directly (by typing in the URL) results in a blank form with only submit buttons.
Comment #3
mtraherne commentedI have also duplicated these results.
I have a "user_no_application_form" role that I use with Workflow-ng. The role is automatically added to any user that edits their profile and DOES NOT have an application form. (in this case the user removes the application form or the account was created by admin). There is also a rule that removes the role if the application form is created.
Under normal circumstances all auth users have "edit own application form content" enabled. in this case if a (any user) has an application form, they should be able to edit it using the following link:
/user/[uid]/edit/user_profile?destination=user%2F[uid]
This appears to only be the case if the user is granted (for any reason) the "create application form" permission.
Comment #4
mtraherne commentedAfter messing around with the user permissions for ages and not seeing the functionality that I used to, I started checking down other avenues.
I found out that whilst the "edit" tab was no longer available to the user - they DID have permission to view/edit their application form.
So I created a themed page for the user account (user_profile.tpl.php) and then added the following code