gocodebox / gocodebox/lifterlms
Instructors Allowed to Set Prices on Courses
- Dominant language
- PHP
- Stars
- 212
- Forks
- 140
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 19
Description
### Reproduction Steps
+ HS-191251
+ Create an user with the instructor role
+ Switch into the user
+ Create a course
+ Create an access plan in that course
### Expected Behavior
+ That instructors can't set prices, or at least admin should be able to choose if they are allowed to or not.
+ To some users it is a bug to other's I think it is a feature.
### Actual Behavior
+ Instructors can set prices for courses they create
### Error Messages / Logs
+ Include any relevant error messages or log files
```
```
### System and Environment Information
System Report
```
Wordpress
-------------------------------------------
Home Url: https://natalie-ocean-wp.myliftersite.com
Site Url: https://natalie-ocean-wp.myliftersite.com
Login Url: https://natalie-ocean-wp.myliftersite.com/wp-login.php
Version: 5.9.3
Debug Mode: No
Debug Log: No
Debug Display: Yes
Locale: en_US
Multisite: No
Page For Posts: Not Set
Page On Front: Not Set
Permalink Structure: /%postname%/
Show On Front: posts
Wp Cron: Yes
Settings
-------------------------------------------
Version: 6.3.0
Db Version: 6.3.0
Course Catalog: Course Catalog (#14) [https://natalie-ocean-wp.myliftersite.com/courses/]
Membership Catalog: Membership Catalog (#15) [https://natalie-ocean-wp.myliftersite.com/memberships/]
Student Dashboard: Dashboard (#17) [https://natalie-ocean-wp.myliftersite.com/dashboard/]
Checkout Page: Purchase (#16) [https://natalie-ocean-wp.myliftersite.com/purchase/]
Course Catalog Per Page: 9
Course Catalog Sorting: menu_order
Membership Catalog Per Page: 9
Membership Catalog Sorting: menu_order
Site Membership: Not Set
Courses Endpoint: my-courses
Edit Endpoint: edit-account
Lost Password Endpoint: lost-password
Vouchers Endpoint: redeem-voucher
Autogenerate Username: no
Password Strength Meter: no
Minimum Password Strength:
Terms Required: yes
Terms Page: Sample Page (#2) [https://natalie-ocean-wp.myliftersite.com/sample-page/]
Checkout Names:
Checkout Address:
Checkout Phone:
Checkout Email Confirmation: no
Open Registration: no
Registration Names:
Registration Address:
Registration Phone:
Registration Voucher:
Registration Email Confirmation: no
Account Names:
Account Address:
Account Phone:
Account Email Confirmation: no
Confirmation Endpoint: confirm-payment
Force Ssl Checkout: no
Country: US
Currency: USD
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Decimals: 2
Trim Zero Decimals: no
Recurring Payments: yes
Email From Address: team+sandbox@lifterlms.com
Email From Name: A LifterLMS Sandbox
Email Footer Text:
Email Header Image:
Cert Bg Width:
Cert Bg Height:
Cert Legacy Compat:
Constants
-------------------------------------------
LLMS_REMOVE_ALL_DATA: undefined
LLMS_REST_DISABLE: undefined
LLMS_SITE_FEATURE_RECURRING_PAYMENTS: undefined
LLMS_SITE_IS_CLONE: undefined
Gateways
-------------------------------------------
Manual: Disabled
Manual Logging:
Manual Order: 1
Server
-------------------------------------------
Mysql Version: 5.7.37
Php Curl: Yes
Php Default Timezone: UTC
Php Fsockopen: Yes
Php Max Input Vars: 5000
Php Max Upload Size: 512 MB
Php Memory Limit: 256M
Php Post Max Size: 1024M
Php Soap: Yes
Php Suhosin: No
Php Time Limt: 30
Php Version: 8.0.17
Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1
Wp Memory Limit: 256M
Browser
-------------------------------------------
HTTP USER AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36
Theme
-------------------------------------------
Name: OceanWP
Version: 3.2.1
Themeuri: https://oceanwp.org/
Authoruri: https://oceanwp.org/about-me/
Template:
Child Theme: No
Llms Support: No
Plugins
-------------------------------------------
LifterLMS: 6.3.0
User Switching: 1.5.8
Integrations
-------------------------------------------
BbPress: No
BuddyPress: No
Template Overrides
-------------------------------------------
```
This issue has be recreated:
+ [x] Locally
+ [x] On a staging site
+ [x] On a production website
+ [x] With only LifterLMS and a default theme
### Browser, Device, and Operating System Information
+ Browser name and version
+ Operating System name and version
+ Device name and version (if applicable)
Contributor guide
Assessment
This issue has not been assessed yet.