• strict warning: Non-static method view::load() should not be called statically in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_field_comment::init() should be compatible with views_handler_field::init(&$view, $options) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/modules/comment/views_handler_field_comment.inc on line 49.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/modules/node/views_handler_filter_node_status.inc on line 13.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
  • strict warning: Non-static method view::load() should not be called statically in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/handlers/views_handler_argument.inc on line 744.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 159.
  • strict warning: Non-static method view::load() should not be called statically in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/views.module on line 906.
  • strict warning: Non-static method view::load() should not be called statically in /home/ordinal/ordinalmalaprop.com/engine/sites/all/modules/views/views.module on line 906.

An Inventory Permissions Checking Script

I was reminded recently of a script that I wrote quite some time ago and appear not to have published anywhere. I did mean to. Perhaps I did, and have simply forgotten. In any case, it can be found here:

The task that I use it to accomplish is to check the permissions of the contents of an item before sale or distribution. If you are one of these fabled "Content Creator" types, and you are at all similar to me, you will undoubtedly have encountered the situation where an item should by all rights have, say, "copy no-transfer" permission, and in fact, no matter how much one changes, it does not in practice.

The cause of this is most often a rogue script or item in a tiny prim that one has forgotten about entirely, and these things can be exceptionally tiring to track down. This script, however, can be used to scan the Inventory of Every Prim in an Object and indicate which of their contents have Inconvenient Permissions. It can also then delete itself, which would be a good thing to tell it to do before sending the final object out to Customers And Such.

On a more general note it is an example of a script that propagates itself throughout an object, operates differently according to where it is at the time, and has the "Parent" Script issue firm commands of suicide to its Children, which might sound somewhat ethically dubious but honestly, who are you or I to criticise the practices of scripts? We live a pampered existence where we cannot simply be deleted or have our internal organs utterly redesigned on a whim. We have no moral authority here; we have not lived the life of a script. Have some humility for goodness' sake.

Viv Trafalgar's picture
21 Apr200907:28
Viv Trafalgar (not verified)

thank you Ordinal. As usual, perfect timing.

Elfod Nemeth's picture
21 Apr200916:40
Elfod Nemeth (not verified)

Thanks Ordinal, I was just about to write this, odd timing

Samantha Poindexter's picture
21 Apr200921:41
Samantha Poindexter (not verified)

I've already had occasion to use this. Thanks!

Maggie Darwin's picture
21 Apr200923:34
Maggie Darwin (not verified)

Ms. Malaprop, you certainly must have published an earlier version of this script (perhaps in the Scripting Colloquium...which seems to be down at the moment?) because I have been using it. Thank you for giving us what appears to be a more elaborate and capable version.

Ordinal Malaprop's picture
21 Apr200923:37
Ordinal Malaprop (not verified)

Oh yes, that would have been it. This particular version is indeed a little easier to use.

Polprav's picture
17 Oct200903:02
Polprav (not verified)

Hello from Russia!
Can I quote a post in your blog with the link to you?

Ordinal Malaprop's picture
20 Oct200920:43
Ordinal Malaprop

Of course you may.