Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions Issue #59 Revisited #72

Open
eidoander opened this issue Jun 8, 2017 · 2 comments
Open

Permissions Issue #59 Revisited #72

eidoander opened this issue Jun 8, 2017 · 2 comments

Comments

@eidoander
Copy link

Am having same issue as user in #59. The issue was closed by Korund and labelled as a bug. Issue: the user must be logged in for the extension to expose the data fields and buttons. Only the page title is displayed to anonymous user.

Korund commented that it was most likely fixed with the next release. Unfortunately, it does not appear to have been fixed.

I am using D7 and Civi 4.6.27 with Simple Donate 1.2. Any suggestions?

@jmcclelland
Copy link
Contributor

I'm also having this problem. It works while I am logged in, but not while logged out. The console reports:

Error: CRM.simpledonate is undefined
@https://iowacci.ourpowerbase.net/civicrm/ajax/angular-modules?format=js&r=aCZUu:2458:5
e@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:36:313
instantiate@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:36:432
Fe/this.$get</<@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:76:3
link@https://iowacci.ourpowerbase.net/civicrm/ajax/angular-modules?format=js&r=aCZUu:2156:268
Z@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:70:149
I@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:59:255
g@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:51:335
G/<@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:50:444
Q/<@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:52:322
h@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:56:322
x@https://iowacci.ourpowerbase.net/civicrm/ajax/angular-modules?format=js&r=aCZUu:2155:364
$broadcast@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:129:65
m/<@https://iowacci.ourpowerbase.net/civicrm/ajax/angular-modules?format=js&r=aCZUu:2160:408
f/<@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:112:182
$eval@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:126:246
$digest@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:123:357
$apply@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:127:10
l@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:81:193
F@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:85:314
wf/</C.onload@https://iowacci.ourpowerbase.net/sites/all/modules/civicrm/bower_components/angular/angular.min.js?r=aCZUu:86:349
 <div ng-view="" class="ng-scope">

jmcclelland added a commit to progressivetech/com.webaccessglobal.simpledonate that referenced this issue Jun 28, 2017
@jmcclelland
Copy link
Contributor

The proper address to publicize your simple donate page is: /civicrm/simple/donation/redirect?id=NN where NN is replaced with the contribution ID for the given page.

However, this page is only accessible to people with the permission: access CiviContribute so it will only work if you are logged in and have that permission. This PR fixes that problem.

However, there is a more fundamental problem that I've address in #74.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants