Ashraf -
I'm dealing with user rights too. It *sounds* from this:
I am looking at the user's Access Level table,
(got there by hitting Admin
XWiki.XWikiUsers > XWiki.user ) before this user has been given edit
privileges,
that you are adding rights objects to the XWiki.user "page", whereas that should
only be done to the page(s) or "space" where you wish to define rights.
To do this: As an Admin open the "More Actions" drop down menu and choose
either "Page Access Rights" or whatever access rights and then you will add
rights objects to the appropriate pages.
I can't tell however whether you were already doing this.
This table:
The table looks like:
Group -- Access Levels -- Users -- Allow/Deny
XWiki.XWikiAdminGroup / Allow / edit / XWiki.user / Allow
can be tricky. "XWiki.XWikiGuest" and "XWiki.XWikiAllGroup" are
opposites but in some cases the all-group must be added along side groups that you create
in rights objects, so those 2 entities are not equal by usage.
So you might need to add "XWiki.XWikiAllGroup" to the rights object you were
testing with.
-ken