Giter Club home page Giter Club logo

Comments (8)

 avatar commented on September 24, 2024

Could you possibly look at this one Robert?

from legal.

rmburkhead avatar rmburkhead commented on September 24, 2024

I will try to look at it later today. I have Physical Therapy this morning.

-Robert

On Tue, Sep 6, 2011 at 8:08 AM, drak <
[email protected]>wrote:

Could you possibly look at this one Robert?

Reply to this email directly or view it on GitHub:
#3 (comment)

from legal.

 avatar commented on September 24, 2024

Any luck?

from legal.

 avatar commented on September 24, 2024

@philipp2 - if you have time, please look at this ticket also please.

from legal.

 avatar commented on September 24, 2024

bump

from legal.

rmburkhead avatar rmburkhead commented on September 24, 2024

First, this bug is not a widespread problem. It affects only the special admin user account where uid == 2. (It would affect the guest user account, uid == 1, as well if modifications to that user account were allowed.)

This error is being generated because the validation for modifying a user account (or modifying a registration record, but that particular case should be impossible in this context) throws an exception if there is an attempt to validate a change admin/guest accounts (uid <= 2).

The same check (uid <= 2) is being performed for vetoed login validation. This is probably redundant in this particular case. The veto handler does not allow uid <= 2 to be vetoed for lack of policy acceptance. It can probably be removed for that particular case.

I am looking into the other cases to see if this check is really needed, and what the implications of removing it are. If the check can be removed safely (in other words, the code is just being too damn paranoid), then that will resolve this issue with editing the admin account.

Moreover, it is probably not necessary to even allow the editing of policy acceptance for uid == 2 (or uid <= 2), since it is always the special admin user account. I will look into seeing if that can be suppressed.

from legal.

rmburkhead avatar rmburkhead commented on September 24, 2024

The logic is still not correct, and the last set of commits introduced a new error.

from legal.

rmburkhead avatar rmburkhead commented on September 24, 2024

re-closed by 8125ca6

from legal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.