add new article it always save active and approved equal 1 while user not have right to active and approved

Asked by adam

hi.

I created a rank and add one user to that with:
........
create articles=allow
approve articles==disallow
edit articles=allow
delete articles=allow
....

But the user of that rank add new article then it always save to database with var:
active=1 and approved=1.

----> it is wong. isn't?

any idear?

sorry I have a lot of questions.
thanks

Question information

Language:
English Edit question
Status:
Solved
For:
phpns Edit question
Assignee:
No assignee Edit question
Solved by:
adam
Solved:
Last query:
Last reply:
Revision history for this message
alecwh (alecwh) said :
#1

adam,

It's perfectly okay you have many questions, especially because someone might have a similar question in the future.

There is nothing wrong with this, this is expected behavior. If you give the user permission to "create articles", then that's exactly what they will do. IF you want them to await moderation, you'll need to select "allow w/ approval".

If you set the option "approve articles=disallow", the user will be unable to approve articles by OTHER users who have the "create articles=allow w/ approval" option set in their rank.

Revision history for this message
adam (myadam) said :
#2

ok. I understood and it's true.

thanks alot.