[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Access Denied



On Thu, Jun 16, 2011 at 1:31 AM, Luke <..hidden..> wrote:
> On Thu, 16 Jun 2011, Chris Travers wrote:
>
>> On Wed, Jun 15, 2011 at 10:19 PM, Luke <..hidden..> wrote:
>>> Access denied when trying to save a new customer as the admin user in 1.3.
>>
>> By default I don't think we give the admin user rights beyond those to
>> create users/manage permissions.  But to be sure....
>
> In that case, the bug here is that it even presented the add customer
> formset.

https://sourceforge.net/tracker/?func=detail&aid=3315926&group_id=175965&atid=875350

> The error should be more descriptive, although that is minor at this
> point.

Full data is found in the logs.  I am thinking though it might be a
good idea to provide the option of very verbose errors rather than the
friendly ones with the idea that people can look in the logs for more
info.
>
>> Can you send me the result of the following query:
>>
>> select rolname from pg_roles where pg_has_role('[admin_username]',
>> rolname, 'usage');

ok,. so thats not it.  looking into it further.
>
>                   rolname
> --------------------------------------------
>  lsmb_testco__contact_read
>  lsmb_testco__contact_create
>  lsmb_testco__contact_edit
>  lsmb_testco__contact_all_rights
>  lsmb_testco__batch_create
>  lsmb_testco__batch_post
>  lsmb_testco__ar_transaction_create
>  lsmb_testco__ar_transaction_create_voucher
>  lsmb_testco__ar_invoice_create
>  lsmb_testco__ar_transaction_list
>  lsmb_testco__ar_transaction_all
>  lsmb_testco__sales_order_create
>  lsmb_testco__sales_quotation_create
>  lsmb_testco__sales_order_list
>  lsmb_testco__sales_quotation_list
>  lsmb_testco__ap_transaction_create
>  lsmb_testco__ap_transaction_create_voucher
>  lsmb_testco__ap_invoice_create
>  lsmb_testco__ap_invoice_create_voucher
>  lsmb_testco__ap_transaction_list
>  lsmb_testco__ap_all_vouchers
>  lsmb_testco__ap_all_transactions
>  lsmb_testco__purchase_order_create
>  lsmb_testco__rfq_create
>  lsmb_testco__purchase_order_list
>  lsmb_testco__rfq_list
>  lsmb_testco__ap_all
>  lsmb_testco__pos_enter
>  lsmb_testco__close_till
>  lsmb_testco__list_all_open
>  lsmb_testco__pos_cashier
>  lsmb_testco__pos_all
>  lsmb_testco__reconciliation_enter
>  lsmb_testco__reconciliation_approve
>  lsmb_testco__reconciliation_all
>  lsmb_testco__payment_process
>  lsmb_testco__receipt_process
>  lsmb_testco__cash_all
>  lsmb_testco__part_create
>  lsmb_testco__part_edit
>  lsmb_testco__inventory_reports
>  lsmb_testco__pricegroup_create
>  lsmb_testco__pricegroup_edit
>  lsmb_testco__assembly_stock
>  lsmb_testco__inventory_ship
>  lsmb_testco__inventory_receive
>  lsmb_testco__inventory_transfer
>  lsmb_testco__warehouse_create
>  lsmb_testco__warehouse_edit
>  lsmb_testco__inventory_all
>  lsmb_testco__gl_transaction_create
>  lsmb_testco__gl_voucher_create
>  lsmb_testco__gl_reports
>  lsmb_testco__yearend_run
>  lsmb_testco__batch_list
>  lsmb_testco__gl_all
>  lsmb_testco__project_create
>  lsmb_testco__project_edit
>  lsmb_testco__project_timecard_add
>  lsmb_testco__project_timecard_list
>  lsmb_testco__orders_generate
>  lsmb_testco__project_order_generate
>  lsmb_testco__orders_sales_to_purchase
>  lsmb_testco__orders_purchase_consolidate
>  lsmb_testco__orders_sales_consolidate
>  lsmb_testco__orders_manage
>  lsmb_testco__financial_reports
>  lsmb_testco__print_jobs_list
>  lsmb_testco__print_jobs
>  lsmb_testco__system_settings_list
>  lsmb_testco__system_settings_change
>  lsmb_testco__taxes_set
>  lsmb_testco__account_create
>  lsmb_testco__account_edit
>  lsmb_testco__auditor
>  lsmb_testco__audit_trail_maintenance
>  lsmb_testco__gifi_create
>  lsmb_testco__gifi_edit
>  lsmb_testco__account_all
>  lsmb_testco__department_create
>  lsmb_testco__department_edit
>  lsmb_testco__department_all
>  lsmb_testco__business_type_create
>  lsmb_testco__business_type_edit
>  lsmb_testco__business_type_all
>  lsmb_testco__sic_create
>  lsmb_testco__sic_edit
>  lsmb_testco__sic_all
>  lsmb_testco__tax_form_save
>  lsmb_testco__template_edit
>  lsmb_testco__users_manage
>  lsmb_testco__system_admin
>  lsmb_testco__language_create
>  lsmb_testco__language_edit
>  lsmb_testco__part_translation_create
>  lsmb_testco__project_translation_create
>  lsmb_testco__manual_translation_all
>  lsmb_testco__draft_edit
>  lsmb_testco__voucher_delete
>  admin
> (100 rows)
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Ledger-smb-devel mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>