Database record of a temporary permission of a character: the permission ID, its PERM_
value (the object column) and the time at which it expires. Belongs to a Character; the
relation is set up by Bolt:OnPluginsLoaded once the Characters plugin has defined the
model. Records are created and changed with Bolt:set_character_temp_permission.
Summary
Methods
after_create()shared
Called by ActiveRecord once the record has been inserted.
Methods
CharacterTempPermission:after_create()
shared plugins/admin/plugin/models/character_temp_permission.lua:12Called by ActiveRecord once the record has been inserted. The character permission functions mark a record whose insert is still running when it is changed or deleted: a changed record is saved again with its current values, and a deleted one is deleted.