[Rt-commit] rt branch, 4.0/article-table-acls, updated. rt-4.0.0-423-g93d407b
Alex Vandiver
alexmv at bestpractical.com
Fri May 20 17:13:03 EDT 2011
The branch, 4.0/article-table-acls has been updated
via 93d407bb04745f406237dfe1210b21a61335346c (commit)
from d65ecf4662500cd3d7e3c39df387c7bc4b1e3882 (commit)
Summary of changes:
etc/upgrade/4.0.1/acl.Pg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 93d407bb04745f406237dfe1210b21a61335346c
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Fri May 20 17:12:57 2011 -0400
Fix comment, and remove irrelevant sessions check
diff --git a/etc/upgrade/4.0.1/acl.Pg b/etc/upgrade/4.0.1/acl.Pg
index 8b0ad68..6b0e7bb 100755
--- a/etc/upgrade/4.0.1/acl.Pg
+++ b/etc/upgrade/4.0.1/acl.Pg
@@ -25,8 +25,8 @@ sub acl {
: "SELECT, UPDATE";
foreach my $table (@tables) {
- # table like objectcustomfields_id_s
- if ( $table =~ /^[a-z]/ && $table ne 'sessions' ) {
+ # Tables are upper-case, sequences are lowercase
+ if ( $table =~ /^[a-z]/ ) {
push @acls, "GRANT $sequence_right ON $table TO \"$db_user\";"
}
else {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list