Displaying 13 results from an estimated 13 matches for "permission_deni".
Did you mean:
permission_denied
2008 May 21
8
before_filter with multiple roles
I have multiple roles in my application.
Now I want to block a method for all users except the administrator and
a manager.
When I do this:
before_filter (:check_administrator_role), :only => [:administration]
before_filter (:check_taskmanager_role), :only => [:administration]
The user must have both roles. How can I change that to an "OR"
combination?
--
Posted via
2006 Mar 22
4
Problem with ACL plugin system
Don''t know if anyone else has experienced this but I''m having a problem
with the access_denied method in Ezra''s ACL access control plugin. It''s
working fine (in conjunction with acts_as_authenticated) until it comes
across a user it denies access to, in which case it throws the following
error:
NoMethodError in Admin#index
protected method
2006 May 10
0
Ezra''s acl_system2 and flash not getting populated in functional tests
...es however only get populated on the first get action in any
given test. Here is what I have so far:
In the controller:
class PageController < AC
before_filter => :login_required
access_control :DEFAULT => ''admin''
def index
end
...
protected
def permission_denied
flash[:message] = "You must log in as an administrator."
redirect_to :controller => "account", :action => "login
end
end
In the test:
ACTIONS = [:index, :new, :edit, :create, :update, :destroy]
def test_redirect_not_authenticated_user
ACTIONS.each...
2006 Jul 16
9
acl_system help is needed
i found Ezra''s acl_system plugin yesterday and i am trying to figure it
out.
based on the simple instructions on the site, it does exactly what i
need but i''m getting some errors when i try to use it:
NoMethodError in UsersController#index
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.roles
i am pretty new to rails and
2017 Jun 16
0
doveadm-server core dump
..._in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, local_name = 0x0}
output = {specific_services = 0x0, service_uses_local = 0, service_uses_remote = 0, used_local = 0, used_remote = 0, permission_denied = 0}
error = 0x7fa334f3f520 "\200\364\363\064\243\177"
c = <optimized out>
2019 Sep 16
1
Dovecot 2.3.7.2 lucene segfault and coredump
...; <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {
0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, local_name = 0x0}
output = {specific_services = 0x0, service_uses_local = false, service_uses_remote = false, used_local = false, used_remote = false, permission_denied = false}
error = 0x7f7dc90ecca7 "__vdso_getcpu"
c = <optimized out>
(gdb)
Br,
Domenico
Domenico Pastore
Senior Cloud Engineer
T 06.98269600 | M 347.1474270 | F 06.98269680
Par-Tec<http://www.par-tec.it> | beyond the IT domain
Via Cristoforo Colombo 163, 0...
2019 Oct 02
1
Doveadm error during store - segfault clucene
...addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, local_name = 0x0}
output = {specific_services = 0x0, service_uses_local = false, service_uses_remote = false, used_local = false, used_remote = false, permission_denied = false}
error = 0x7f4b3aca3ca7 "__vdso_getcpu"
c = <optimized out>
(gdb)
# 2.3.7.2 (3c910f64b): /new_config/dovecot/dovecot_test/dovecot.conf
# Pigeonhole version 0.5.7.2 (7372921a)
# OS: Linux 3.10.0-957.21.3.el7.x86_64 x86_64 CentOS Linux release 7.6.1810 (Co...
2019 Jul 09
6
Dovecot 2.3.6 on Solaris10: build issues, segfaults
...fig_all_parsers_check (ctx=0xffbffac8, new_filter=0x657a8, error_r=0xffbffa44)
at config-parser.c:441
parsers = 0x58180
tmp_parsers = 0x4
output = {specific_services = 0xf2a20, service_uses_local = false,
service_uses_remote = false, used_local = false, used_remote = false,
permission_denied = false}
i = 0
count = 3
ssl_set = 0x4 <error: Cannot access memory at address 0x4>
global_ssl_set = 0x32188 ""
tmp_pool = 0xf29a0
ssl_warned = false
ret = 0
__func__ = "config_all_parsers_check"
#5 0x00022ec8 in config_parse_finish (ctx=0xffbf...
2018 Feb 02
1
Dovecot 2.3.0, Panic: file mailbox-attribute.c: line 362 (mailbox_attribute_get_stream): assertion failed: (value_r->value != NULL || value_r->value_stream != NULL)
...00' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}},
ip4 = {s_addr = 0}}}, local_name = 0x0}
output = {specific_services = 0x0, service_uses_local = false, service_uses_remote = false, used_local = false, used_remote = false, permission_denied = false}
error = 0x7fa8618af2c0 <intel_02_known> "\006\004 "
c = <optimized out>
2019 Sep 16
2
Dovecot 2.3.7.2 lucene segfault and coredump
Hi,
I have other information.
I analyzed the core dump:
(gdb) core 22534
[New LWP 22534]
Reading symbols from /usr/libexec/dovecot/doveadm-server...Reading symbols from /usr/lib/debug/usr/libexec/dovecot/doveadm-server.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by
2018 Feb 07
4
BUG: panic when using fs:posix as dict for acl_shared_dict
..._addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}},
ip4 = {s_addr = 0}}}, local_name = 0x0}
output = {specific_services = 0x0, service_uses_local = 0, service_uses_remote = 0, used_local = 0, used_remote = 0, permission_denied = 0}
error = 0x7f64c10be2c0 <intel_02_known> "\006\004 "
c = <optimized out>
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...;ll create one.
> + break;
> + case sys::fs::file_type::regular_file:
> + // If file is not currently writable, error out.
> + ec = sys::fs::is_writable_file(filePathTwine, writable);
> + if ( !ec && !writable )
> + return make_error_code(errc::permission_denied);
> + break;
> + default:
> + if ( ec )
> + return ec;
> + else
> + return make_error_code(errc::operation_not_permitted);
> + }
> +
> + // Delete target file.
> + bool existed;
> + if ( error_code ec = sys::fs::remove(filePath,...
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileOutputBuffer.patch
Type: application/octet-stream
Size: 25308 bytes
Desc: not available
URL: