| Project: | Node Moderation |
| Component: | Documentation |
| Category: | task |
| Priority: | normal |
| Assigned: | grohk |
| Status: | closed (fixed) |
Issue Summary
When I set up nmoderation on my test machine, I didn't grant permissions to any users, since it was just in test mode, and I only wanted myself ( uid 1 ) to be able to access the module.
I then went to all the configuration screens and filled out every box I could.
Since this didn't include any roles, the moderation matrix and moderation roles were empty so I did nothing with them.
After the votes were set up and I tried to vote, I got an SQL error because there were no values in the moderation matrix.
After I figured out where the problem was, I created an 'admin' role which has permissions to moderate nodes, and filled out the matrix.
Things appear to work okay now.
I would suggest that the documentation should state clearly that you must use user permissions to turn on at least one role before using the module, it may seem obvious, but it isn't
Another thing that needs to be considered. With Drupal 4.5 a user can be in multiple roles. I created a vote called 'good' I set admin's 'good' vote value to 3, and Authenticated User's vote value to 2. I set my id to be both an authenticated user and an admin. It appears to have taken the value from Admin instead of from authenticated user. It would be nice if the documentation would describe how that determination was made.
Comments
#1
Setting a more descriptive and positive title
#2
I think I would like to work on the documentation for these issues.
#3
I tried to address these issues by reworking the readme.txt, please check this and let me know if it is clear enough.
#4
small fixes.
#5
Made a patch of the readme with diff. I think this needs to make it into the 4.6 version of the module, so I am changing to CVS.
#6
thanks brady ... anyone is welcome to commit changes to readme file without consulting me. it is quite unlikely anyone would make it worse.
#7
Thanks Moshe, commited to HEAD.
#8