Performs additional custom processes before setting a value in the collection.
index The zero-based index at which oldValue can be found. oldValue The value to replace with newValue. newValue The new value of the permission entry at index.