Comments (8)
Could you possibly look at this one Robert?
from legal.
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.
Any luck?
from legal.
@philipp2 - if you have time, please look at this ticket also please.
from legal.
bump
from legal.
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.
The logic is still not correct, and the last set of commits introduced a new error.
from legal.
re-closed by 8125ca6
from legal.
Related Issues (20)
- register form shows links to terms of use and so on although not enabled in settings HOT 2
- Cookiebar does not work on routed pages HOT 5
- Unused file? HOT 1
- The important notice is not valid for zk1.4 HOT 2
- Enable cookie warning for EU Compliance could not be switched off
- Adding Support for Webshim and Polyfill HOT 1
- Translations not working in Zikula 1.4.0 HOT 2
- [2.0.2] Changing the settings does not work HOT 1
- the legal version shipped with 1.4.2 gives error during installation HOT 1
- Migrate to 2.0 spec
- Exception when editing a user
- Policy acceptance after initial login is not saved HOT 1
- Twig_Error_Runtime: Key "termsOfUse" does not exist as the array is empty
- not all translations are used HOT 6
- Custom URL for each language
- User-Registration: Policies should not be accepted by default
- GDPR EU regulation? HOT 11
- inlineLink twig extension - few improvements
- Policies "easy" option accepting without tickbox
- EUCookie translations missing for the Legal module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legal.