#365

Product support

Get help in the plugin support forum.

Categories

  • Developer Tools

The plugin is a skeleton for building SaaS applications using OctoberCMS.

Its main purpose is to help developers with managing permissions to frontend pages and boost the development of SaaS applications.

These plugin(s) are required for the plugin:

Concept

To fully understand the concept it is a good idea to watch the videos here http://cumulus.init.biz/videos.

Working with pages in Cumulus is based on three levels of testing user privileges:

  1. User is logged in (using component from Rainlab.Users)
  2. User can access to cluster's page (using Cumulus Guard)
  3. Cluster has access to the module (using Module Guard)

You can use the Guards on pages, but the best approach is to create the following layouts:

  • first one for public pages
  • second one with Session component from RainLab.UserPlus for all pages that requires a user to be signed in
  • third one with Session component and CumulusGuard component for all pages that requires a user to be signed in and to be assigned to a cluster
  • Fourth, fifth and so on with Session component, CumulusGuard component and a ModuleGuard component for all pages that requires a user to be signed in, assigned to a cluster and the privilege for a cluster to access the module.

Modules

Cumulus is using modules to separate functionality and access for front-end users. Cumulus core provides managing privileges, clusters and users while modules provide functionality. Cumulus modules are normal OctoberCMS plugins with extra functionality that helps communicating with Cumulus Core.

After installing Cumulus Core you can run command:

php artisan cumulus:createmodule namespace.modulename

For example:

php artisan cumulus:createmodule Initbiz.CumulusProducts

After creating such module (witch basically is OctoberCMS plugin), you will have to run

php artisan plugin:refresh namespace.modulename

in order to register module in Cumulus Core.

Testing Cumulus

Cumulus tests are written using Selenium 2 - Initbiz.selenium2tests plugin. If you want to test Cumulus then in tests/ directory you have a fixtures/themes directory where theme for testing is stored. Contribution is very welcomed :)

Future plans

The most important future plans:

  • Provide behaviors instead of traits for components to work similar to backend.
  • Add settings to manage automatically adding users to clusters and groups
1.0.7

After clean up, Cumulus is ready to be published on Marketplace

Oct 11, 2017

1.0.6

Created table initbiz_cumuluscore_plan_module

Oct 10, 2017

1.0.5

Created table initbiz_cumuluscore_plans

Oct 10, 2017

1.0.4

Created table initbiz_cumuluscore_modules

Oct 10, 2017

1.0.3

Created table initbiz_cumuluscore_cluster_user

Oct 10, 2017

1.0.2

Created table initbiz_cumuluscore_clusters

Oct 10, 2017

1.0.1

Initialize plugin.

Oct 10, 2017