5.7.242. Bugzilla::Extension::Workflows::GroupRequest

5.7.242.1. NAME

Bugzilla::Extension::Workflows::GroupRequest

5.7.242.2. DESCRIPTION

This class encapsulates the GroupRequest Workflow object.

5.7.242.3. SYNOPSIS

use Bugzilla::Extension::Workflows::GroupRequest;

5.7.242.4. METHODS

create

Description:
The constructor is used to create a GroupRequest Workflow object.
Params:
A hash of fields
Returns:
A Bugzilla::Extension::Workflows::GroupRequest object.

set_managed

Description:
Change if a group is currently being managed.
Params:
boolean
Returns:
Nothing.

set_invite_only

Description:
Change if a group is invite only.
Params:
boolean
Returns:
Nothing.

set_regex

Description:
Change the regular expression used to decide who can apply for this group. The regex will be tested for validity.
Params:
string
Returns:
Nothing.

set_group_id

Description:
Change the group this record relates to. The group will be validated.
Params:
integer
Returns:
Nothing.

set_flag_id

Description:
Change the flag this record is using. The flag will be validated.
Params:
integer
Returns:
Nothing.

set_cc_list

Description:
Change the CC list for this record’s flag type. All users will be validated.
Params:
string A comma separated list of user logins.
Returns:
Nothing.

managed

Description:
Is this group being managed?
Params:
None.
Returns:
Boolean

invite_only

Description:
Is this group invite only?
Params:
None.
Returns:
Boolean

regex

Description:

Params:
None.
Returns:
string

group_id

Description:
The ID of the Group for this record.
Params:
None.
Returns:
integer

flag_id

Description:
The ID of the FlagType for this record.
Params:
None.
Returns:
integer

ccs

Description:
Who are the users being CC’d?
Params:
None.
Returns:
An array of Bugzilla::User objects.

cc_list

Description:
Who are the users being CC’d?
Params:
None.
Returns:
A string containing a comma separated list of user logins.

group

Description:
What group does this record relate to?
Params:
None.
Returns:
A Bugzilla::Group object.

approval_group

Description:
Which group can grant approvals?
Params:
None.
Returns:
A Bugzilla::Group object.

flag_type

Description:
Which FlagType is the record using?
Params:
None.
Returns:
A Bugzilla::FlagType object.

This documentation undoubtedly has bugs; if you find some, please file them here.