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

Add 'creator' role #579

Merged
merged 4 commits into from
Dec 11, 2023
Merged

Conversation

subiabre
Copy link
Member

🎩 What? Why?

This PR adds the role 'creator' with permissions to highlight a project in their creator profile.

@subiabre subiabre requested a review from davidbeig November 17, 2023 17:52
@davidbeig davidbeig mentioned this pull request Nov 20, 2023
Copy link
Member

@davidbeig davidbeig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something is not working as it should be. When I add the "content creator" to an admin profile, then the admin module will not show all the modules (all the content for an admin).

imatge

@subiabre
Copy link
Member Author

Something is not working as it should be. When I add the "content creator" to an admin profile, then the admin module will not show all the modules (all the content for an admin).

imatge

This behavior is not exclusive to the "creator" role. The same thing happens with other roles such as "vip". Can you confirm this is in fact unintended behavior for every role?

@davidbeig davidbeig changed the base branch from feature/stripe_integration to feature/creator_controller December 11, 2023 15:44
@davidbeig davidbeig merged commit db44068 into feature/creator_controller Dec 11, 2023
1 check passed
@davidbeig davidbeig deleted the feature/role_creator branch December 11, 2023 15:44
davidbeig added a commit that referenced this pull request Dec 12, 2023
* add calls for project and reward to get subscribable rewards for a given project

* add creator controller and first view

* add new copies for creator landing

* add posts for creator landing

* add strong to user name in creator landing

* add project section to creator layout

* fixes on creator css

* show all rewards in creator landing ordered by subscribable and amount

* change grid layout for creator subscriptions and change it to slider

* add links to share creator landing page

* move social share in creator to partial

* add channels to creator landing

* move creator partials to public

* add styles to slider arrows in creator subscriptions

* Add 'creator' role (#579)

* Only let admins allow stripe and subscribables

* Redirect user to stripe checkout to purchase subscription

* Add 'creator' role

* Cleaner code for createAdminSidebar function

* remove unnecessary partial

* fixes in redirects in creator controller

---------

Co-authored-by: Daniel Subiabre García <[email protected]>
davidbeig added a commit that referenced this pull request Dec 12, 2023
* create subscriptions menu for project dashboard (#555)

authored-by: David Igón <[email protected]>

* Add subscriptions

* Add subscriptions to project dashboard

* Update database code

* Update dashboard subscription form

* Start updating subscriptions dashboard to add new subscription

* Basic subscription form on dashboard

* CRUD for subscriptions on project dashboard

* Add support for subscriptions via stripe payments

* Fix Stripe integration details

* Make stripe subscriptions be enabled via rewards

* Remove legacy integration

* Remove javascript related to previous subscription model

* Fix stripe integration PR comments

* Use abstract payment in stripe payment method

* Fix Stripe webhook code

* Use yml webhook secret

* Add missing config

* Fix subscription gateway madness

* Add subscriptions to user dashboard

* Unify stripe subscription naming

* Allow users to list and cancel their stripe subscriptions

* Update subscription data vis

* Only let admins allow stripe and subscribables

* Redirect user to stripe checkout to purchase subscription

* Add 'creator' role

* Add commissions data and fix webhook status

* Redirect customer to next step in invest controller

* Display subscription based rewards different

* Highlight subscribable rewards on project side

* Add "subscriptions" submodule

* Improve metadata of stripe subscriptions

* Use stripe to validate success on payment response

* Allow basic listing of subscriptions to the admins

* Fix bug with invest reward function return type

* Feature Creator (#580)

* add calls for project and reward to get subscribable rewards for a given project

* add creator controller and first view

* add new copies for creator landing

* add posts for creator landing

* add strong to user name in creator landing

* add project section to creator layout

* fixes on creator css

* show all rewards in creator landing ordered by subscribable and amount

* change grid layout for creator subscriptions and change it to slider

* add links to share creator landing page

* move social share in creator to partial

* add channels to creator landing

* move creator partials to public

* add styles to slider arrows in creator subscriptions

* Add 'creator' role (#579)

* Only let admins allow stripe and subscribables

* Redirect user to stripe checkout to purchase subscription

* Add 'creator' role

* Cleaner code for createAdminSidebar function

* remove unnecessary partial

* fixes in redirects in creator controller

---------

Co-authored-by: Daniel Subiabre García <[email protected]>

---------

Co-authored-by: David <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants