Giter Site home page Giter Site logo

silverstripe-securityreport's Introduction

Security Report

CI Silverstripe supported module

This module adds a "Users, Groups and Permissions" report in the CMS, so that an administrator can get a quick overview of who has access to the CMS.

Installation

composer require silverstripe/securityreport

Subsites Support

If the Subsites module is installed then an additional column will be added, allowing you to see which subsites this user can edit pages on.

To edit the permission to check for when filtering these subsites, you can update the Member.subsite_description_permission config to any other permission. By default this is set to SITETREE_EDIT_ALL.

silverstripe-securityreport's People

Contributors

cheddam avatar chillu avatar dhensby avatar dnsl48 avatar emteknetnz avatar fspringveldt avatar github-actions[bot] avatar guysartorelli avatar madmatt avatar mandrew avatar maxime-rainville avatar nightjar avatar raissanorth avatar robbieaverill avatar sabina-talipova avatar scopeynz avatar wilr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

silverstripe-securityreport's Issues

Missing columns in report

The security report no longer contains the columns showing the date and time of the last visit. Were these intentionally removed?

This affects:

silverstripe/securityreport               dev-master 24a71d6

silverstripe/framework                    4.1.x-dev 9ed3cd4
silverstripe/cms                          4.1.x-dev 7dea009
silverstripe/reports                      4.1.x-dev ac23686

Compare against e.g.:

silverstripe/securityreport               1.0.10 

silverstripe/framework                    3.6.5   
silverstripe/cms                          3.6.5 

UX Overflow content hidden if screen width too narrow

When opening the security report (through the CMS' Reports navigation) on a window/tab with narrow screen width, the overflow content is hidden and can not be accessed by other means than extending the screen width.

silverstripe/securityreport               dev-master 24a71d6

silverstripe/framework                    4.1.x-dev 9ed3cd4
silverstripe/cms                          4.1.x-dev 7dea009
silverstripe/reports                      4.1.x-dev ac23686

Note that in contrast in CWP 1.8.1 a horizontal scroll bar gets added, so the relevant content is still accessible.

Add support for PostgreSQL

At the moment some of the code is incompatible with PostgreSQL. Since it's a supported database driver in SilverStripe, we should add support for it.

Some example issues from Travis builds:

1) SilverStripe\SecurityReport\Tests\UserSecurityReportTest::testSourceRecords
SilverStripe\ORM\Connect\DatabaseException: Couldn't run query:
UPDATE "Member"
 SET "ClassName" = $1, "Locale" = $2, "FirstName" = $3, "Surname" = $4, "Email" = $5, "Created" = $6, "LastEdited" = $7
WHERE ("ID" = $8)
ERROR:  invalid input syntax for type timestamp: "1393319440"
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/Connect/DBConnector.php:64
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/postgresql/code/PostgreSQLConnector.php:234
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/Connect/Database.php:168
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/Connect/Database.php:222
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/Connect/Database.php:170
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/DB.php:445
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/Queries/SQLExpression.php:115
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/Connect/Database.php:348
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/DB.php:493
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/DataObject.php:1318
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/ORM/DataObject.php:1364
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/Dev/FixtureBlueprint.php:146
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/Dev/FixtureFactory.php:85
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/Dev/YamlFixture.php:154
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/framework/src/Dev/SapphireTest.php:278
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/silverstripe/securityreport/tests/UserSecurityReportTest.php:46
/home/travis/build/creative-commoners/recipe-reporting-tools/vendor/phpunit/phpunit/phpunit:52

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.