*** pcardune has quit IRC | 00:00 | |
*** mgedmin has joined #schooltool | 00:06 | |
*** pcardune has joined #schooltool | 00:27 | |
*** pcardune has quit IRC | 00:36 | |
*** dlobo has joined #schooltool | 01:14 | |
*** dlobo has quit IRC | 02:37 | |
*** pcardune has joined #schooltool | 03:06 | |
*** pcardune has quit IRC | 03:12 | |
*** alga has quit IRC | 03:42 | |
*** pcardune has joined #schooltool | 03:46 | |
*** mgedmin has quit IRC | 04:00 | |
*** dlobo has joined #schooltool | 06:08 | |
*** ignas has quit IRC | 06:12 | |
*** dlobo has quit IRC | 06:49 | |
*** povbot has joined #schooltool | 09:07 | |
*** pcardune has quit IRC | 09:17 | |
*** aelkner has joined #schooltool | 09:43 | |
*** yvl has joined #schooltool | 11:33 | |
*** ignas has joined #schooltool | 11:36 | |
*** alga has joined #SchoolTool | 11:50 | |
*** Aiste has joined #schooltool | 12:30 | |
*** menesis has quit IRC | 14:22 | |
*** alga has quit IRC | 15:18 | |
*** menesis has joined #schooltool | 15:19 | |
*** ignas has quit IRC | 15:54 | |
*** replaceafill has joined #schooltool | 15:58 | |
*** th1a has joined #schooltool | 16:18 | |
th1a | Good morning aelkner, yvl, menesis, Lumiere, replaceafill. | 16:31 |
---|---|---|
Lumiere | hi everyone | 16:31 |
yvl | hi th1a | 16:31 |
replaceafill | good morning | 16:31 |
aelkner | morning | 16:32 |
* yvl suddenly remembers he has no coffe. Runs off to make some. Be right back, sorry. | 16:32 | |
th1a | aelkner: Did you see the email from Chris L.? | 16:33 |
aelkner | yes, the permissions issue | 16:33 |
th1a | We need to resolve that. | 16:34 |
aelkner | ok, will do | 16:35 |
* yvl back | 16:37 | |
menesis | hello | 16:37 |
th1a | Ah, he's talking about the pdf's. | 16:37 |
th1a | I'd just give all teachers the right to see all the narrative reports for the moment. | 16:38 |
*** mgedmin has joined #schooltool | 16:38 | |
th1a | (we'll straighten out what they actually should be later) | 16:38 |
yvl | by the way, replaceafill, aelkner | 16:39 |
yvl | if you run into weir errors while running bin/buildout | 16:39 |
th1a | Actually, we really just need to have a standard crowd(?) for people associated with a specific student - his current and former teachers, advisor. | 16:39 |
yvl | (clean your ~/.buildout/cache/dist) | 16:40 |
th1a | Beyond that, the main topic today is picking up what we started on Friday -- yvl's priorities for aelkner. | 16:40 |
replaceafill | yvl, i always download eggs to avoid that kind of errors :) | 16:40 |
replaceafill | yvl, but thanks ;) | 16:40 |
yvl | th1a, trying to recall where we finished... | 16:42 |
*** dlobo has joined #schooltool | 16:42 | |
yvl | ah, the bugs in intervention | 16:42 |
th1a | We discussed using relationships instead of... something else. | 16:42 |
yvl | ... dublincore creator string | 16:42 |
yvl | th1a: what timespan are we supposed to plan now? | 16:43 |
yvl | week, month, until next release? | 16:43 |
th1a | Well... | 16:44 |
th1a | I think we have some debt to pay between now and the end of the year. | 16:44 |
yvl | hmm | 16:45 |
th1a | Right now I don't want to say "Let's write some new features first." | 16:45 |
th1a | If we're feeling good at the end of the year we can plan some new stuff to work on in January, maybe. | 16:45 |
th1a | But right now I'm feeling very much in the mode of hunkering down and consolidating what we've got. | 16:46 |
yvl | I'm not against medium features on Dec | 16:46 |
yvl | but I'd like to avoid any when we near Lucid milestone | 16:47 |
th1a | Yes, that too. | 16:47 |
th1a | aelkner and I came up with a list of current bugs for him to work on. | 16:48 |
th1a | You can see them on Launchpad. | 16:48 |
yvl | that's good | 16:48 |
th1a | So if you don't have other specific concerns... we don't have a lot to talk about today. | 16:48 |
Lumiere | before you all get too deep into that timeline | 16:49 |
Lumiere | make sure you find the point | 16:49 |
Lumiere | where you need to 'release' | 16:49 |
Lumiere | to make it into lucid | 16:49 |
yvl | definitely, Lumiere | 16:49 |
th1a | Yes. | 16:50 |
yvl | ok, so I'll try to lay out nearest future from my point of view | 16:50 |
yvl | the intervention bugs I entered ar kind of hot | 16:50 |
yvl | It would be good if they all got fixed first | 16:50 |
yvl | (in the order I wrote last Fri) | 16:50 |
yvl | then I'd like to see security in Intervention and Gradebook plugins revisited | 16:51 |
yvl | and described | 16:51 |
yvl | this one's blocking on me, as I need to write a tutorial/test/something | 16:51 |
yvl | ~3-4 days of work | 16:52 |
yvl | another big chunk is porting ST to newer Zope | 16:52 |
yvl | another one - making a "getting into Ubuntu" plan | 16:52 |
yvl | I'd guess that porting is my task | 16:53 |
yvl | "getting into Ubuntu" - menesis (and me a little) | 16:53 |
th1a | Yes, that all sounds right. | 16:54 |
yvl | then at some point I'd like somebody to revisit translations | 16:54 |
yvl | I'm pretty sure there are invalid/missing translations at some places | 16:54 |
menesis | porting to ZTK is also my task | 16:54 |
yvl | oh, true | 16:54 |
yvl | what else... | 16:55 |
yvl | I want to finish tweaks for our Makefiles / buildout.cfg / etc. | 16:55 |
yvl | (that will probably change a bit how sandboxes for plugin development are created) | 16:56 |
yvl | the process I'm going for: | 16:57 |
th1a | Another thing to keep in mind, in terms of "planning for uncertainty," is that if all is going well we're suddenly going to get a list of requests and bugs from Cambodia, sometime in the next few months. | 16:57 |
th1a | So we don't necessarily want a tight complete schedule, which will just be over-run by that. | 16:57 |
yvl | a very good point | 16:57 |
yvl | I think the things we mentioned above will already eat whole Dec | 16:58 |
yvl | maybe half of January even | 16:59 |
th1a | I do too. | 16:59 |
th1a | So I think we've got a medium term plan. | 16:59 |
yvl | yes | 17:00 |
th1a | And no conceivable long term plan where those aren't the first steps. | 17:00 |
yvl | yes | 17:00 |
th1a | Also, I have enough money to keep replaceafill going part time. | 17:00 |
replaceafill | :) | 17:00 |
th1a | Maybe he could work on transation issues? | 17:00 |
th1a | Or something else? | 17:01 |
replaceafill | translation? | 17:01 |
th1a | We do need transations as completely straightened out as possible. | 17:01 |
th1a | That is, i18n in SchoolTool. | 17:01 |
th1a | Oh, also, I did say we were going to close translations on Launchpad, so I guess we need to create a group for that. | 17:01 |
th1a | menesis: I can do that unless you want to. | 17:03 |
menesis | th1a: no groups and people are yours ;) | 17:05 |
th1a | That's a good division of labor. | 17:06 |
th1a | yvl: Any thoughts about what to do with replaceafill? | 17:08 |
yvl | yes :) | 17:08 |
yvl | I'm thinking... replaceafill, how would you feel about adding lovely.remotetask to ST? | 17:08 |
replaceafill | for automated taks, right? | 17:08 |
yvl | yes | 17:09 |
replaceafill | i haven't used it, but i'd like to do it :) | 17:09 |
yvl | the thing I want to have now, is... umm... a small abstraction layer in ST | 17:10 |
yvl | (so that plugins can use it, and I wouldn't have to fix them if/when we want to change/fix/replace something in automated task mechanism) | 17:11 |
*** dlobo has quit IRC | 17:12 | |
yvl | allright then | 17:13 |
yvl | I'll think what I want from them and email you :) | 17:13 |
replaceafill | yvl, bring it on :P | 17:13 |
yvl | in the mean time | 17:14 |
yvl | can you rummage through translation .pot files in ST and plugins? | 17:15 |
yvl | to look for mistakes | 17:15 |
yvl | like {DYNAMIC_CONTENT} | 17:16 |
yvl | or <a href=\"complexadd.html\">advanced adding form</a> | 17:16 |
yvl | or onclick=\"$('#more_overlays').toggle() | 17:16 |
replaceafill | ah ok | 17:16 |
replaceafill | yvl, i usually check things manually | 17:17 |
yvl | well, you get the idea :) | 17:17 |
replaceafill | i mean | 17:17 |
replaceafill | i set everything in a sandbox | 17:17 |
replaceafill | download the latest spanish translations | 17:17 |
replaceafill | and start from there | 17:17 |
replaceafill | if i see something wrong i check the code and fix it | 17:17 |
yvl | thats great | 17:18 |
yvl | but I'd be grateful if you did some manual searching this time | 17:18 |
yvl | just read all the strings, and look for mistakes | 17:18 |
replaceafill | ah ok | 17:19 |
yvl | those that are left are usually well hidden in UI | 17:19 |
replaceafill | this will be my chance to have all the plugins in spanish ;) | 17:19 |
yvl | one more little thing - there seems to be something funny with buttons | 17:19 |
yvl | ok-button, etc. | 17:19 |
yvl | don't know if default translations are good - please check :) | 17:20 |
replaceafill | ah ok, will do | 17:20 |
yvl | another thing (if you have time) | 17:20 |
yvl | browsing through gradebook/journal/intervention pt files and source | 17:21 |
yvl | to check if there are obviously untranslated strings | 17:21 |
yvl | then I'd do UI sweep - create a custom translation, that changes all messages to some short form | 17:22 |
yvl | change them all to "???" for example | 17:22 |
yvl | and check if anything is visible from UI :) | 17:22 |
yvl | maybe a python script would help, I don't know | 17:22 |
yvl | maybe that last one is too much work for now | 17:23 |
yvl | it's your call :) | 17:23 |
replaceafill | ok, i'll try | 17:24 |
yvl | I'll get you with automated tasks sooner or later anyway ;) | 17:24 |
aelkner | i'd like to discuss permissions and reports if i may | 17:24 |
replaceafill | ok, will start reading docs then | 17:24 |
yvl | thanks, replaceafill! | 17:24 |
aelkner | th1a: about Lehmann's note... | 17:25 |
*** dwelsh has joined #schooltool | 17:25 | |
dwelsh | Happy Thanksgiving, all!!! | 17:25 |
aelkner | hey dwelsh | 17:25 |
th1a | dwelsh, That's only relevant to half of us. | 17:25 |
* th1a notes that he will be offline Thursday and Friday. | 17:26 | |
dwelsh | To the rest, I wish, "Happy Week of Monday, Nov, 23rd!" | 17:26 |
dwelsh | Is the meeting over? | 17:27 |
th1a | Nearly. | 17:28 |
dwelsh | quick duplicates report? | 17:28 |
th1a | Offering or requesting? | 17:28 |
dwelsh | offering | 17:28 |
dwelsh | so, replaceafill and I are about done with the duplicates userstory | 17:29 |
dwelsh | this is the userstory about intelligently updating the CanDo competency database | 17:29 |
aelkner | th1a, yvl: i have an issue to discuss regarding permissions | 17:29 |
dwelsh | ooops. | 17:30 |
dwelsh | standing by... | 17:30 |
th1a | aelkner, Let's let dwelsh say his peace first. | 17:30 |
aelkner | sure, just wanted you two to stand by | 17:30 |
dwelsh | continuing... | 17:30 |
dwelsh | this is the userstory about intelligentlly updating the CanDo database of competencies | 17:30 |
dwelsh | when our client, Virginia's CTE Resource Center, is not intelligently maintaining the database from one year to the next | 17:31 |
dwelsh | (i.e. they are deleting comps and then readding them with new ids) | 17:31 |
dwelsh | this has been a very hard user story, but we believe that we have it | 17:31 |
dwelsh | it has meant rewriting the "import competencies from xml" routine | 17:32 |
dwelsh | which now will only work from the root level of the competency tree | 17:32 |
dwelsh | a competency list for a single course can be added, but it must be added at the root level | 17:32 |
dwelsh | with its full context | 17:33 |
dwelsh | in short, we are ready to request a new CanDo package | 17:33 |
dwelsh | which will include this fix, plus other minor report fixes and bug fixes requested by the state | 17:33 |
dwelsh | Great job replaceafill | 17:34 |
th1a | Who makes the package? | 17:34 |
dwelsh | Help me here Jason and replaceafill | 17:34 |
dwelsh | I'm hoping the jinty will do it??? | 17:34 |
dwelsh | that jinty will do it??? | 17:35 |
Lumiere | menesis makes our packages now | 17:35 |
replaceafill | Lumiere worked on that last time I think | 17:35 |
dwelsh | He no longer works for Arlington Public Schools | 17:35 |
Lumiere | the cando packaging is rolled up into the ST release system now | 17:35 |
dwelsh | So he would basically be doing it as a volunteer | 17:35 |
replaceafill | dwelsh, but we're going to request it after we check our fixes today, right? | 17:35 |
dwelsh | Unless SchoolTool worked out an arrangement wiht him | 17:35 |
th1a | So menesis needs to do it? | 17:35 |
menesis | dwelsh: cando does not look ready: http://source.schooltool.org/buildbot/builders/pov-cando-buildout | 17:36 |
dwelsh | Yes. After we check our fixes today | 17:36 |
dwelsh | (I'm verifying that our fixes have not adversely affected anything else) | 17:36 |
dwelsh | replacefill: what will it take for "CanDo to be ready"? | 17:36 |
menesis | I will do the deb packages | 17:37 |
replaceafill | looking at the buildout failures | 17:37 |
Lumiere | th1a: yes, but my understanding is that it is not difficult at this point | 17:37 |
menesis | what Ubuntu release are the servers running? | 17:38 |
menesis | the cando servers | 17:38 |
replaceafill | ACC is running 8.04 | 17:38 |
replaceafill | i dont know about the others in the state | 17:38 |
Lumiere | all on 8.04 | 17:39 |
*** dlobo has joined #schooltool | 17:39 | |
replaceafill | menesis, i had those failures when i was using nightly | 17:40 |
menesis | so cando should target schooltool 1.0 ... | 17:41 |
menesis | replaceafill: what failures? | 17:41 |
replaceafill | yes | 17:41 |
replaceafill | http://source.schooltool.org/buildbot/builders/pov-cando-buildout | 17:41 |
menesis | strange, can't see why it fails | 17:45 |
replaceafill | menesis, yes, tests pass here and at the ACC server | 17:46 |
replaceafill | menesis, but both are using schooltool/1.0 | 17:47 |
replaceafill | menesis, the branch i mean | 17:47 |
*** Aiste has quit IRC | 17:47 | |
menesis | replaceafill: ok i'm looking what's wrong there | 17:48 |
dwelsh | (dwelsh thinks this is an important discussion) | 17:51 |
dwelsh | (menesis, thanks for you help, and I hope to meet you one fine day!) | 17:51 |
th1a | Speaking of which, I'd like to get yvl at least over here in January. | 17:52 |
th1a | Do you think that will be possible visa, etc. wise yvl? | 17:52 |
yvl | sure | 17:53 |
yvl | the new LT passports technically allow to enter USA without a VISA | 17:53 |
th1a | Oh, excellent. | 17:54 |
th1a | I should probably send a letter anyhow? | 17:54 |
yvl | (but I have a working VISA in my old passport, just in case) | 17:54 |
yvl | yes, th1a | 17:54 |
th1a | OK. We can discuss this more next week. | 17:54 |
yvl | great! | 17:54 |
Lumiere | dwelsh: look at PM? | 17:56 |
dwelsh | PM??? | 17:56 |
yvl | private message, I guess? | 17:56 |
Lumiere | yea | 17:56 |
yvl | aelkner: you had some questions? | 17:59 |
th1a | Go ahead aelkner. | 18:00 |
aelkner | ok, the issue is this | 18:01 |
aelkner | reports in schooltool.gradebook are arrived at via the specific context | 18:01 |
aelkner | be it term, schoolyear, basicperson, etc. | 18:02 |
aelkner | the link itself, 'Reports' and the report views themselves are running off these various contexts | 18:02 |
aelkner | so | 18:02 |
aelkner | in order to prevent students from seeing other students' grades | 18:03 |
aelkner | i'm forced to use schooltool.edit permission | 18:03 |
aelkner | which means only administrators can see the links and run the reports | 18:03 |
aelkner | this is the same issue Lehmann pointed out today | 18:03 |
aelkner | his solution for now is to make all of the teachers administrators | 18:04 |
th1a | Well, you're going to have to start thinking in a little more detail about permissions. | 18:04 |
dwelsh | replaceafill: connect with you at 2:30pm. | 18:05 |
aelkner | well, schooltool itself doesn't really have a provision for this issue | 18:05 |
replaceafill | dwelsh, great | 18:05 |
*** dwelsh has left #schooltool | 18:05 | |
th1a | Hm. If only we knew the SchoolTool developers we could ask them to fix this. | 18:05 |
aelkner | ok, i know i have to be patient, but i at some point th1a will say something helpful | 18:06 |
aelkner | yvl: do you see my point about contexts and schooltool.view | 18:06 |
th1a | <th1a> Actually, we really just need to have a standard crowd(?) for people associated with a specific student - his current and former teachers, advisor. | 18:07 |
yvl | yes, just having a bit of trouble to formulate it into a question | 18:07 |
yvl | by the way, using "schooltool.edit" is definitely not the way to go | 18:07 |
aelkner | the action button, 'Reports', for the term context | 18:08 |
th1a | We cannot cram everything into 'view' and 'edit' forever. | 18:08 |
aelkner | how do we get that to show up for teachers and admin users only? | 18:08 |
yvl | a good question. | 18:08 |
th1a | Let's stay focused on the question on hand. | 18:08 |
replaceafill | yvl, 'teachers' and 'administrators' crowd for schooltool.edit for the specific context? | 18:08 |
aelkner | that is the question at hand | 18:09 |
replaceafill | yvl, like we were testing on Report Sheets last week | 18:09 |
aelkner | can teachers edit the term? | 18:09 |
th1a | No... | 18:09 |
aelkner | my point exactly | 18:09 |
th1a | Look, we don't want teachers running the 4000 page term report. | 18:09 |
th1a | I don't think that is the bug being raised. | 18:10 |
th1a | Teachers need to be able to generate reports on their students and their sections. | 18:10 |
aelkner | true, lehmann would be happy just to allow teachers access to IBasicPerson/narratives.pdf | 18:10 |
th1a | Exactly. | 18:10 |
aelkner | which generates the narrative reports for all students in that teacher's advisory | 18:11 |
aelkner | should teachers be allowed edit access to basicperson? | 18:11 |
th1a | Not at this point. | 18:11 |
th1a | Generating a report = viewing. | 18:11 |
th1a | For people. | 18:11 |
th1a | Not for terms. | 18:11 |
yvl | aelkner, please don't use schooltool.edit for viewing | 18:12 |
yvl | it will give you pain later | 18:12 |
th1a | In theory, we'd have an HTML view for this data anyhow. | 18:12 |
aelkner | not gradebook data for students | 18:12 |
yvl | I still kind of fail to see the problem from "ST permission readyness" point of view | 18:13 |
yvl | if you want to have reports for students of your section | 18:13 |
yvl | you have a report that hangs on the section | 18:14 |
yvl | protected with schooltool.view | 18:14 |
yvl | and as you need gradebook data or something | 18:14 |
yvl | you allow the teacher schooltool.view on section's gradebook | 18:14 |
yvl | (and there's some thing with igradebookstudent or similar) | 18:15 |
aelkner | we already have permissions handled for IGradebook | 18:15 |
aelkner | but these reports are being requested at different contexts, like person, section, etc. | 18:15 |
aelkner | the action buttons need to be protexted by some permission | 18:16 |
aelkner | schooltool.view on ISection is for all, including students | 18:16 |
aelkner | same with IBasicPerson | 18:16 |
aelkner | the only solution i see is to create a proxy | 18:16 |
yvl | ah, so the problem is that reports are well protected | 18:16 |
yvl | but their buttons still appear | 18:16 |
aelkner | like ISectionReports | 18:16 |
yvl | and you don't want that, right? | 18:17 |
aelkner | well, protecting the reports is the same problem as the buttons | 18:17 |
th1a | For starters, it would be sufficient if the right people could actually print the reports. | 18:17 |
aelkner | i believe that's what i'm trying to discuss here | 18:18 |
th1a | Go ahead, aelkner. | 18:19 |
aelkner | is it unavoidable that we create a proxy like ISectionReports | 18:19 |
yvl | (umm, it is not unavoidable, and I prefer you did not) | 18:20 |
yvl | but please do continue | 18:20 |
yvl | I still don't get the exact problem you're trying to solve | 18:20 |
yvl | (and I already forgot most of the things I chatted about it with replaceafill) | 18:20 |
replaceafill | :| | 18:21 |
aelkner | yvl: i don't understand how this is not clear | 18:21 |
aelkner | i have a report that has ISeciton as context | 18:21 |
aelkner | that's important for two reasons | 18:22 |
yvl | which view? | 18:22 |
yvl | schooltool.gradebook.browser.XXX? | 18:22 |
aelkner | 1) the action link is for ISection | 18:22 |
aelkner | 2) the report class itself need the context | 18:22 |
yvl | I guess .request_reports.SectionReportsView | 18:24 |
yvl | and .pdf_views.SectionAbsencesPDFView | 18:24 |
aelkner | yep | 18:25 |
yvl | the way I see it | 18:25 |
aelkner | so without a proxy class, i don't know what could be changed to make it do what we want permissions wise | 18:25 |
yvl | the view itself shoulb be on ISectionJournalData | 18:26 |
yvl | not on ISection | 18:26 |
th1a | The problem at hand is actually some SLA custom reports, but I assume it is the same issue. | 18:26 |
yvl | and controlling ISectionJournalData viewing permissions for teachers makes more sense | 18:26 |
aelkner | not only there, but how would you configure the action link for section reports | 18:26 |
yvl | than controlling something something viewing permissions for teachers on ISection | 18:26 |
yvl | the action link is another story | 18:27 |
th1a | Yes. | 18:27 |
yvl | I've actually written down that it's not convenient to write action links | 18:27 |
yvl | to another places | 18:27 |
yvl | having security in mind | 18:27 |
yvl | (written down on my board) | 18:27 |
yvl | so yes, ST is a bit unprepared | 18:27 |
aelkner | thanks for backing me up on that point | 18:28 |
th1a | We need to get these printable TODAY, I don't care about the buttons right now. | 18:28 |
aelkner | th1a doesn't tend to believe me | 18:28 |
aelkner | as a gut reaction, that is | 18:28 |
th1a | It is just a separate problem. | 18:28 |
yvl | yes | 18:28 |
yvl | Alan, if you moved section absences report on ISectionJournalData | 18:29 |
aelkner | th1a: for today, you mean Lehmann, right? | 18:29 |
yvl | that should solve your permission problems | 18:29 |
yvl | or at least - make them solvable | 18:29 |
aelkner | yvl: not quite | 18:29 |
th1a | aelkner, Yes. | 18:29 |
aelkner | th1a: he already has the solution by making teachers site admins | 18:29 |
aelkner | it not right, but for now it works | 18:30 |
th1a | Aaagh! That is not a solution! | 18:30 |
yvl | what is missing, aelkner? | 18:30 |
aelkner | the schooltool.gradebook reports that i created last month | 18:31 |
aelkner | they work off of data both from the journal and gradebook | 18:31 |
aelkner | and across sections, not just on section journal or gradebook | 18:31 |
aelkner | so using ISectionJournal as context is not possible | 18:31 |
yvl | wait | 18:31 |
aelkner | again, i return to the porxy concept | 18:31 |
yvl | we are talking about another problem again, right? | 18:32 |
aelkner | a new class that delivers a context | 18:32 |
aelkner | that can be protexted with the right permissions | 18:32 |
aelkner | and have links off of it | 18:32 |
aelkner | th1a, yvl: this invites a much broader permission discussion | 18:33 |
aelkner | do we want to have that eight now? | 18:33 |
th1a | Look... | 18:33 |
aelkner | right now | 18:33 |
th1a | here is the question: | 18:33 |
th1a | Can you set the SLA grade reports on a person to be viewable/printable by, for starters, teachers? | 18:34 |
aelkner | here's an idea | 18:34 |
th1a | Can you set the SLA grade reports on a section to be printable by the teacher of the section? | 18:34 |
aelkner | if i created a report for IGradebook | 18:34 |
yvl | (btw, Alan, can you please point me to the Gradebook view class? I was a bit busy for past few months, and don't remember what was added and when... sorry. ) | 18:35 |
aelkner | which only teachers are allowed to naviagate to | 18:35 |
yvl | (the Gradebook report view class you mentioned) | 18:35 |
aelkner | schooltool/gradebook/gradebook.py has the proxy calss | 18:35 |
aelkner | the view of that class is in schooltool/gradebook/browser/gradebook.py | 18:36 |
aelkner | oh, sorry, you meant the report view class | 18:36 |
aelkner | that does not work off of IGradebook | 18:36 |
yvl | of report sheet something | 18:36 |
aelkner | those reports work off of term, section, basicperson, etc. | 18:36 |
aelkner | and are protected by schooltool.edit, i.e., onlhy site admins can use them | 18:37 |
aelkner | what i was starting to suggest | 18:37 |
aelkner | was if we had reports that ran off of IGradebook | 18:37 |
aelkner | then the links and reports could be protected just by schooltool.view | 18:37 |
aelkner | and only teachers and site admins would be able to use them | 18:38 |
yvl | again | 18:38 |
yvl | I have no idea what are you talking about: | 18:38 |
yvl | sorry, but I don't know Gradebook code inside out | 18:38 |
yvl | you need to point me to a view class | 18:39 |
aelkner | i did above | 18:39 |
aelkner | schooltool/gradebook/browser/gradebook.py | 18:39 |
yvl | like this: for="..interfaces.IReportWorksheet" | 18:39 |
yvl | class=".worksheet.WorksheetManageView" | 18:39 |
yvl | aelkner: gradebook has a load of stuff | 18:39 |
aelkner | yes, and there are no reports to point ou to | 18:40 |
aelkner | you | 18:40 |
yvl | hmm | 18:40 |
aelkner | only the gradebook classes (not reports) work off of IGradebook | 18:40 |
aelkner | if you look at schooltool/gradebook/browser/configure.zcml | 18:41 |
yvl | ok | 18:41 |
aelkner | you'll see the reports links/view classes | 18:41 |
aelkner | and note the contexts | 18:41 |
aelkner | term, section, basicperson | 18:41 |
aelkner | all of that would need to change if teachers were to be able to request tose reports | 18:42 |
aelkner | those | 18:42 |
yvl | hmm | 18:42 |
yvl | are you talking about... name="report_pdfs.html" | 18:42 |
yvl | for="schooltool.term.interfaces.ITerm" | 18:42 |
yvl | class=".request_reports.TermReportsView" | 18:42 |
yvl | or pdf reports, like... name="failures_by_term.pdf" | 18:43 |
yvl | for="schooltool.term.interfaces.ITerm" | 18:43 |
yvl | class=".pdf_views.FailingReportPDFView" | 18:43 |
aelkner | yep | 18:43 |
aelkner | you're there | 18:44 |
th1a | So is the problem the way it is set up now can't differentiate the permissions based on the context of the report? | 18:44 |
yvl | yes | 18:44 |
aelkner | ok, now we're all on the same page | 18:45 |
aelkner | until today, i thought only admin users were to request reports | 18:46 |
aelkner | so there was no problem using schooltool.edit | 18:46 |
aelkner | and like i said, if we wanted to expose some reports to teachers | 18:47 |
aelkner | i suppose we could use IGradebook as the context | 18:47 |
aelkner | so the teacher goes to their gradebook | 18:47 |
aelkner | and from there requests the reports that we want teachers to be able to request | 18:47 |
aelkner | and the data would be limited to those classes they teach | 18:48 |
aelkner | and even though IGradebook only has a single worksheet as its context | 18:48 |
aelkner | there is enough info in the Gradebook class to get to the teacher | 18:48 |
th1a | That's fine with me. | 18:48 |
aelkner | and use that to get to the data | 18:49 |
yvl | makes sense | 18:49 |
aelkner | so, i can leave all the reports like they are | 18:49 |
aelkner | and add new reports for IGradebook | 18:49 |
aelkner | sounds like a plan? | 18:49 |
yvl | th1a? | 18:50 |
th1a | Sounds ok by me. | 18:50 |
th1a | So do that ASAP. | 18:50 |
aelkner | th1a: for the shortest term change | 18:50 |
aelkner | i'll just add a Narratives link and view to IGradebook | 18:51 |
aelkner | and it will do what IBasicPerson does | 18:51 |
aelkner | namely find all students that are advised by the person | 18:51 |
aelkner | teacher | 18:51 |
th1a | Does that still require all teachers to be admins? | 18:51 |
aelkner | and report that | 18:51 |
aelkner | IGradebook is viewable for teachers not students | 18:52 |
aelkner | so that will allow teachers to request their version of the narratives | 18:52 |
aelkner | and no student will be able to | 18:52 |
aelkner | th1a: so no | 18:52 |
th1a | OK. As long as Lehmann gets the reports he wants in the hands of the people who want them without making everyone admins. | 18:52 |
aelkner | right | 18:53 |
yvl | "those who can view the gradebook, can view <grade> report of students in the gradebook" makes a lot of sense | 18:53 |
th1a | Indeed. | 18:53 |
aelkner | there's our solution | 18:53 |
aelkner | i'll do that today and let Lehmann know before (now) and after i have it for them | 18:53 |
yvl | allright then | 18:55 |
yvl | mail me if any problems come up | 18:55 |
yvl | or leave a note on IRC | 18:55 |
yvl | happy Thanksgiving to you all! | 18:56 |
th1a | Thanks, aelkner, yvl. | 18:56 |
aelkner | happy thanksgiving to you all, too | 18:56 |
*** ignas has joined #schooltool | 19:15 | |
*** menesis has quit IRC | 19:22 | |
*** pcardune has joined #schooltool | 19:48 | |
*** menesis has joined #schooltool | 21:10 | |
*** alga has joined #SchoolTool | 21:10 | |
*** mgedmin has quit IRC | 21:15 | |
*** menesis has quit IRC | 21:18 | |
*** menesis has joined #schooltool | 21:19 | |
*** pcardune has quit IRC | 21:31 | |
*** pcardune has joined #schooltool | 22:27 | |
*** pcardune has quit IRC | 23:49 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!