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