Mozilla

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Why no "Mandatory/NA"? (Was: Using Bugzilla Groups to Limit UserGroup to Group Bugs)

    5 answers - 1379 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    John Weathers wrote:
    Marc,
    Thanks for the input. I had come to that conclusion myself but wanted
    to make sure that I wasn't missing something by seeing what people on
    the list thought of the situation.
    Is there some design reason why Bugzilla doesn't allow Mandatory/NA
    for the MemberControl/Control setting combination? I have made
    some customizations to our install before and am considering making
    one to it now to allow Mandatory/NA.
    Because the only place it would seem to be applicable would still not
    work with that. The problem is that the support staff who are members
    of both groups that 2 distinct customers might have restricted a bug to
    would be unable to keep the bugs from being in BTH groups. (Plus, when
    you set the controls to Mandatory, all bugs are forced into that group)
    What you are really looking for is something that is SUFFICIENT/NA
    meaning that the bug MUST be restricted to AT LEAST NE of a set of
    groups. If we were to do that (and I am not sure it is worth the
    complexity), a user who was a member of only one SUFFICIENT group would
    see that group as MANDATRY, but a user who was a member of several
    would be able to choose one (or more?) of the SUFFICIENT groups.
    support-bugzilla mailing list
    support-bugzilla (AT) lists (DOT) mozilla.org
  • No.1 | | 552 bytes | |

    Joel Peshkin wrote on 1/10/06 7:41 PM:

    What you are really looking for is something that is SUFFICIENT/NA
    meaning that the bug MUST be restricted to AT LEAST NE of a set of
    groups. If we were to do that (and I am not sure it is worth the
    complexity), a user who was a member of only one SUFFICIENT group would
    see that group as MANDATRY, but a user who was a member of several
    would be able to choose one (or more?) of the SUFFICIENT groups.

    How much complexity would it be? That actually sounds like it might be
    useful.
  • No.2 | | 1175 bytes | |

    David Miller wrote:
    Joel Peshkin wrote on 1/10/06 7:41 PM:
    >>What you are really looking for is something that is SUFFICIENT/NA
    >>meaning that the bug MUST be restricted to AT LEAST NE of a set of
    >>groups. If we were to do that (and I am not sure it is worth the
    >>complexity), a user who was a member of only one SUFFICIENT group would
    >>see that group as MANDATRY, but a user who was a member of several
    >>would be able to choose one (or more?) of the SUFFICIENT groups.


    How much complexity would it be? That actually sounds like it might be
    useful.

    Well prior to the concept of "Sufficient," it would have been a real
    mess. The concept may make it managable. A few details still have to
    be worked out. For instance, when a product has existing bugs as a set
    of sufficient groups are created, what should happen.

    We could do this, but I am not sure I want to have to deal with the
    whining from people who find this confusing.

    support-bugzilla mailing list
    support-bugzilla (AT) lists (DOT) mozilla.org
  • No.3 | | 1881 bytes | |

    For what it's worth, here's the approach that I am taking for my
    company. I'm adding a group for my company's staff and a group for
    each client for which we wish to give limited access to Bugzilla. The
    Staff group automatically inherits any of these client groups. Then,
    we add all our bugs to the Staff group with Default/NA access control.
    Next, for products to which a client needs limited access, we add the
    client's group with access control Default/Na.

    At this point, if a Staff user adds a bug and doesn't change the
    default settings, a new bug will belong to the Staff group and any
    client groups that need limited access to the given product which will
    block anyone other than a Staff user from seeing it as they are the
    only ones who belong to all groups. In additon, all our old bugs will
    be added to the Staff group to protect them from client eyes.

    If a Client enters a bugs for the product and doesn't change the
    default settings, a new bug will belong to only that Client's group,
    and therefore only Staff users (who inherit the Client group) and that
    Client's fellow users will be able to access the bug.

    Finally, to keep Staff users and Clients from shooting themselves in
    the foot by changing these settings, I have changed the edit.html
    template so that the Group Permissions settings area of a bug is only
    visible to admins. Thus, the behavior that we expect is automatically
    enforced unless an admin wishes to change it.

    Another benefit of this approach is that our clients will then be
    unable to see what other clients have this special access to a common
    product.

    This solution works for us and actually seems better than the
    Mandatory/NA for which I had been pining earlier in the week.

    Regards,

    John
  • No.4 | | 2491 bytes | |

    This sounds like an extremely valuable pattern that should be
    generally available. We're looking for exactly this functionality.

    To summarize:

    * product, with components
    * Multiple 'client' groups, who must be able to file bugs
    * Each client group must be disjoint from all others, able to see
    only bugs filed by users in their group
    * A group of developers ("Staff") who must be able to see all bugs
    filed by all users
    * The ability to mark certain bugs as visible by more than one
    client group (a "staff-only" function).

    John Weathers wrote:
    For what it's worth, here's the approach that I am taking for my
    company. I'm adding a group for my company's staff and a group for
    each client for which we wish to give limited access to Bugzilla. The
    Staff group automatically inherits any of these client groups. Then,
    we add all our bugs to the Staff group with Default/NA access control.
    Next, for products to which a client needs limited access, we add the
    client's group with access control Default/Na.

    At this point, if a Staff user adds a bug and doesn't change the
    default settings, a new bug will belong to the Staff group and any
    client groups that need limited access to the given product which will
    block anyone other than a Staff user from seeing it as they are the
    only ones who belong to all groups. In additon, all our old bugs will
    be added to the Staff group to protect them from client eyes.

    If a Client enters a bugs for the product and doesn't change the
    default settings, a new bug will belong to only that Client's group,
    and therefore only Staff users (who inherit the Client group) and that
    Client's fellow users will be able to access the bug.

    Finally, to keep Staff users and Clients from shooting themselves in
    the foot by changing these settings, I have changed the edit.html
    template so that the Group Permissions settings area of a bug is only
    visible to admins. Thus, the behavior that we expect is automatically
    enforced unless an admin wishes to change it.

    Another benefit of this approach is that our clients will then be
    unable to see what other clients have this special access to a common
    product.

    This solution works for us and actually seems better than the
    Mandatory/NA for which I had been pining earlier in the week.

    Regards,

    John
  • No.5 | | 2027 bytes | |

    Can you let me know the exact changes you made to the edit.html file to
    do this? I'm running bugzilla 3.0.

    John Weathers wrote:
    For what it's worth, here's the approach that I am taking for my
    company. I'm adding a group for my company's staff and a group for
    each client for which we wish to give limited access to Bugzilla. The
    Staff group automatically inherits any of these client groups. Then,
    we add all our bugs to the Staff group with Default/NA access control.
    Next, for products to which a client needs limited access, we add the
    client's group with access control Default/Na.

    At this point, if a Staff user adds a bug and doesn't change the
    default settings, a new bug will belong to the Staff group and any
    client groups that need limited access to the given product which will
    block anyone other than a Staff user from seeing it as they are the
    only ones who belong to all groups. In additon, all our old bugs will
    be added to the Staff group to protect them from client eyes.

    If a Client enters a bugs for the product and doesn't change the
    default settings, a new bug will belong to only that Client's group,
    and therefore only Staff users (who inherit the Client group) and that
    Client's fellow users will be able to access the bug.

    Finally, to keep Staff users and Clients from shooting themselves in
    the foot by changing these settings, I have changed the edit.html
    template so that the Group Permissions settings area of a bug is only
    visible to admins. Thus, the behavior that we expect is automatically
    enforced unless an admin wishes to change it.

    Another benefit of this approach is that our clients will then be
    unable to see what other clients have this special access to a common
    product.

    This solution works for us and actually seems better than the
    Mandatory/NA for which I had been pining earlier in the week.

    Regards,

    John

Re: Why no "Mandatory/NA"? (Was: Using Bugzilla Groups to Limit UserGroup to Group Bugs)


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Mozilla"

EMSDN.COM