Skip to content

Refactor user store model authorization rules to enhance security#360

Merged
Stivenjs merged 6 commits into
mainfrom
cli
Oct 17, 2025
Merged

Refactor user store model authorization rules to enhance security#360
Stivenjs merged 6 commits into
mainfrom
cli

Conversation

@Stivenjs
Copy link
Copy Markdown
Contributor

This commit removes the 'authenticated' authorization for various fields in the user store model and updates the 'storeStatus' field to include specific authorization rules. These changes improve the security model by ensuring that only the owner and public API key can access certain operations, aligning with best practices in user data management.

This commit removes the 'authenticated' authorization for various fields in the user store model and updates the 'storeStatus' field to include specific authorization rules. These changes improve the security model by ensuring that only the owner and public API key can access certain operations, aligning with best practices in user data management.
…omponents

This commit updates the handling of environment variables across multiple files, changing references from 'NODE_ENV' to 'APP_ENV' for consistency. Additionally, it refactors the theme management components, enhancing the ThemeList and ThemeUploadForm for better user experience and functionality. The ThemeModals are also improved with streamlined modal actions, and new theme actions such as renaming and previewing themes are introduced, ensuring a more robust theme management process.
This commit introduces the Shopify Polaris AppProvider to the layout, enabling consistent styling and internationalization support. The StoreSelector component is refactored to improve the user experience by implementing a new layout structure, integrating a UserMenu, and enhancing the StoreData component with better loading states and error handling. Additionally, the useUserStores hook is updated to separate active and inactive stores, improving data management and user feedback.
This commit updates the StoreSelector component to utilize Tailwind CSS for styling, enhancing the layout's responsiveness and visual appeal. Key changes include adjustments to the card structure, header alignment, and loading state presentation, ensuring a better user experience across different screen sizes.
@github-actions github-actions Bot added the tests label Oct 17, 2025
This commit modifies the StoreCard component by increasing the gap between elements for better visual spacing and changing the HTML structure to enhance semantic meaning. The store name is now displayed without inline styles, and the domain text is updated to use a paragraph tag for improved accessibility and readability.
@Stivenjs Stivenjs merged commit 2645e10 into main Oct 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant