b-solution / redminerepositorycontrol

Automatically exported from code.google.com/p/redminerepositorycontrol
0 stars 0 forks source link

Able to view SVN tree after permission removed #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Assign svn access to role
2. Remove access to specific svn tree
3. Within Redmine I can still view the tree after access is removed.  For
some items items if I select I get a 403 access error (good), however when
I go back I have a list of items,
History | View | Annotate | Download 

From this list I can view the code, or download it.

What is the expected output? What do you see instead?
I would rather than once access is removed, that tree isn't viewable at all
within redmine.

What version of the product are you using? On what operating system?

Redmine 0.9.3.devel (MySQL), DISTRIB_DESCRIPTION="Ubuntu 9.10"

Please provide any additional information below.

Original issue reported on code.google.com by sean.whi...@gmail.com on 11 Mar 2010 at 2:26

GoogleCodeExporter commented 8 years ago
I think this is error:

DBD::mysql::st execute failed: Unknown column 'members.role_id' in 'where 
clause' at /usr/lib/perl5/vendor_perl/5.8.8/Apache/RedmineRepoControl.pm line 
282.                      
DBD::mysql::st fetchrow_array failed: fetch() without execute() at 
/usr/lib/perl5/vendor_perl/5.8.8/Apache/RedmineRepoControl.pm line 283.         

I wrote patch for trunk version of redmine and attached it

Original comment by freeday...@gmail.com on 5 Nov 2010 at 3:53

Attachments: