Jim Barker

mt_permission "Trust" button permission_blog_id 0

Vote 0 Votes

When clicking the "Trust" button for blog_id = 7, the application inserts a row into the mt_permission table placing the test " 'comment' " into the permission_permissions field and the value of 0 in the permission_blog_id field. I would think that the blog_id would match the value of the current blog_id? Can someone help me understand this behavior?

Reported on Movable Type 4.3

6 Replies

| Add a Reply
  • That blog id 0 means it is trusted at the system level, meaning for all the blogs within you installation.

    ----------------------------------
    Mihai Bocsaru

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/

  • That's what I understood by reading the documentation, but I was pressing the Trust button for a specific blog not the system. I would expect to see text added into the permission record that existed for blog_id 7 not adding a record for blog_id 0? It seems to me like it's a bug, but I don't know enough about the intent of the developers to make that statement.

  • If you feel it is a bug, you may like to file a bug report from: http://bugs.movabletype.org/

    I would rather think it was done in purpose, to be unique at the system level (applicable for all the blogs within the installation).

  • I was hoping that someone (developer if possible) would say something to the affect that "oh yeah, that's normal behavior and here is why". I thought the trust button applied to a specific blog not the entire system when clicking it from within the blog that I am managing. I don't want to file a bug if it isn't a bug. I think a developer can better say whether they think it is a bug or not.

  • I'm a long time developer and for me it makes sense to have the "trusting" process applicable at the system level.

    On the other hand, if you believe you would have any advantage on "trusting" somebody only at a specific blog level, you may like to request this as a feature.

    There will be no harm to be able to trust somebody either at the system or at the blog level.

    I would say there will have to be a way to choose if to "trust" at the current blog level or the system level, (in my opinion the default option should be "system level") so that a system admin managing an installation with say a few tens of blogs won't have to go through the "trusting" process a few tens of times (once for each and every blog)...

  • Mihai,

    Thank you for your comments. Did you actually develop the changes from the version (4.01) to the 4.32 version that altered the behavior? The reason this was noticed was that there were almost 500 trusted commenters and when the upgrade occurred the behavior was different and none of the 500 commenters were considered trusted anymore. When I dug into the matter, that is when I discovered what is documented above. Thanks again for your feedback.

    Regards,
    Jim Barker

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012