new DuplicateAccountPolicy()
manage policy for new accounts
Example
var policy = new DuplicateAccountPolicy({
// objects:
v : v, // Variables object
bb: bb, // BulletinBoard object
mc: mc, // MiscellaneousCache object
vi: vi, // Violations object
// configuration:
loading_html : 'loading, please wait...',
user : { username: 'thread creator username', user_id: 12345, email: '..', summary: '...', suspected_duplicates: [...] },
callback: function( action, summary, header ) { ... };
// widget placement:
duplicate_account_list_args: { container: $('.duplicate_account_list_container') },
extra_post_args: { container: $( '.extra_post_container') },
severity_slider_args: { container: $( '.severity_slider_container') },
build_dupe_args: function(users) {
// build extra arguments for single duplicate account policies
},
});
Classes
- _Single
- single dupe account policy