]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2004/003001.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2004 / 003001.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] Bug using svs4-db in svs5
5 (autodeop/nojoin-level)
6 </TITLE>
7 <LINK REL="Index" HREF="index.html" >
8 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Bug%20using%20svs4-db%20in%20svs5%0A%09%28autodeop/nojoin-level%29&In-Reply-To=">
9 <META NAME="robots" CONTENT="index,nofollow">
10 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
11 <LINK REL="Previous" HREF="003000.html">
12 <LINK REL="Next" HREF="003002.html">
13 </HEAD>
14 <BODY BGCOLOR="#ffffff">
15 <H1>[IRCServices Coding] Bug using svs4-db in svs5
16 (autodeop/nojoin-level)</H1>
17 <B>Wolfgang Urban</B>
18 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Bug%20using%20svs4-db%20in%20svs5%0A%09%28autodeop/nojoin-level%29&In-Reply-To="
19 TITLE="[IRCServices Coding] Bug using svs4-db in svs5
20 (autodeop/nojoin-level)">ircservices-coding at tou.de
21 </A><BR>
22 <I>Sun Mar 28 11:19:44 PST 2004</I>
23 <P><UL>
24 <LI>Previous message: <A HREF="003000.html">[IRCServices Coding] ***BUG*** SQLINE
25 </A></li>
26 <LI>Next message: <A HREF="003002.html">[IRCServices Coding] Bug using svs4-db in svs5
27 (autodeop/nojoin-level)
28 </A></li>
29 <LI> <B>Messages sorted by:</B>
30 <a href="date.html#3001">[ date ]</a>
31 <a href="thread.html#3001">[ thread ]</a>
32 <a href="subject.html#3001">[ subject ]</a>
33 <a href="author.html#3001">[ author ]</a>
34 </LI>
35 </UL>
36 <HR>
37 <!--beginarticle-->
38 <PRE>Hi,
39
40 yesterday, a user told our staff that he was not able to op users who were
41 not on the channel's access list.
42
43 [19:41:58] *** Mode change [+o testuser] on channel #quizzing by papillio
44 [19:41:58] *** Mode change [-o testuser] on channel #quizzing by ChanServ
45
46 =ChanServ= Information for channel #quizzing:
47 =ChanServ= Options: Topic Retention, Op-Notice
48
49 As you can see, Secureops is deactivated.
50
51 Trying to op via '/chanserv op #quizzing testuser' results in:
52 =ChanServ= Unable to op testuser on channel #quizzing.
53
54 On our network, we've been using Services5 for about a month. Before, we
55 used Services4; the channel #quizzing was registered under version 4 and the
56 founder modified the level settings completely. He also set AUTODEOP to
57 level 4. This was the problem:
58
59 After some investigation I found out that the level settings were
60 _completely_ taken over to Services5, including the level settings of
61 AUTODEOP and NOJOIN. As you know, in Services5 AUTODEOP and NOJOIN should
62 always be fixed to -1 and -100, and they are invisible to the user. To check
63 this, I modified services to also show those two levels in '/chanserv levels
64 list':
65
66 =ChanServ= Access level settings for channel #quizzing:
67 [...]
68 =ChanServ= _AUTODEOP 40
69 =ChanServ= _NOJOIN -20
70 [...]
71
72 The values were simply converted (new level=old level*10 in this case) like
73 any other level and are also being used to check user rights.
74
75 So if you have registered channels with Services4 with a positive AUTODEOP
76 or NOJOIN level and then use Services5, users without an access list entry
77 or too low access level may not be able to join the channel or get opped.
78 Since NOJOIN and AUTODEOP-settings can't be changed in v5, the founder has
79 to use '/chanserv levels reset' to work around this problem.
80
81 I was able to reproduce this bug with a new installation of Services 4.5.45
82 with clean databases, then using Services 5.0.29.
83 Hopefully this will get fixed in the next services release, i.e. by setting
84 both levels to -1 and -100 after reading the database.
85
86 If there are any problems understanding me/the bug, please ask.. ;)
87 Wolle
88
89
90
91 </PRE>
92
93 <!--endarticle-->
94 <HR>
95 <P><UL>
96 <!--threads-->
97 <LI>Previous message: <A HREF="003000.html">[IRCServices Coding] ***BUG*** SQLINE
98 </A></li>
99 <LI>Next message: <A HREF="003002.html">[IRCServices Coding] Bug using svs4-db in svs5
100 (autodeop/nojoin-level)
101 </A></li>
102 <LI> <B>Messages sorted by:</B>
103 <a href="date.html#3001">[ date ]</a>
104 <a href="thread.html#3001">[ thread ]</a>
105 <a href="subject.html#3001">[ subject ]</a>
106 <a href="author.html#3001">[ author ]</a>
107 </LI>
108 </UL>
109
110 </body></html>