Chaque action exige le droit natif Dolibarr correspondant CPC-005
À tester
Automatisable
Desktop
Instructions
Se connecter avec un utilisateur qui n'a qu'une partie des droits du module Comptabilité ou Banque de Dolibarr. Attendu : chaque écran et chaque action est refusé sans le droit natif correspondant (liaison, grand livre, saisie, export, plan comptable, exercices, rapprochement, états, révision) ; un utilisateur externe est toujours refusé ; un profil réduit ne voit pas les montants qu'il n'a pas le droit de lire. capcompta ne crée aucun droit propre.
Liens
Aucun lien.
Tests automatiques liés
| Source | Référence du test | Niveau |
|---|---|---|
| phpunit | ApiCapabilityWiringTest::testEveryGuardedCapabilityIsDeclaredInTheMap | full |
| phpunit | ApiCapabilityWiringTest::testNoSourceChecksACapcomptaOwnedRight | full |
| phpunit | ApiCapabilityWiringTest::testTheModuleDescriptorDeclaresNoRightOfItsOwn | full |
| phpunit | CapcomptaGuardContractTest::testEveryCapabilityMapsToARightOfANativeModule | full |
| phpunit | CapcomptaGuardContractTest::testTheBankCapabilitiesAreTheOnlyOnesSpeakingForTheBankModule | full |
| phpunit | CapcomptaGuardContractTest::testTheCapabilityVocabularyIsStable | full |
| phpunit | ClosureTest::testARefusedClosingIsRedactedForAReducedProfile | full |
| phpunit | ClosureTest::testTheControllerWithholdsTheLedgerAmountsFromAReducedProfile | full |
| phpunit | OpeningBalanceTest::testTheControllerWithholdsTheAmountsOfAnExistingBatchFromAReducedProfile | full |
| phpunit | OpeningBalanceTest::testTheScreenIsClosedToAProfileHoldingOnlyOneOfTheTwoRights | full |
| phpunit | RestApiHttpTest::testProtectedRouteRefusesAnonymousCall | full |
| phpunit | SecurityGuardsTest::testAnExternalUserIsRefusedEvenWithEveryAccountingRight | full |
| phpunit | SecurityGuardsTest::testAnExternalUserIsRefusedOnTheBankCapabilitiesToo | full |
| phpunit | SecurityGuardsTest::testAReadOnlyAccountantCannotAnnotateAnAccount | full |
| phpunit | SecurityGuardsTest::testAReportOnlyUserReachesNeitherTheLedgerNorTheBalance | full |
| phpunit | SecurityGuardsTest::testAReportOnlyUserReachesTheIncomeStatementButNotTheBalanceSheet | full |
| phpunit | SecurityGuardsTest::testCanAllowsBindingWithTheNativeBindRight | full |
| phpunit | SecurityGuardsTest::testCanFailsClosedOnAnUnknownCapability | full |
| phpunit | SecurityGuardsTest::testCanRefusesBindingWithoutTheNativeBindRight | full |
| phpunit | SecurityGuardsTest::testEveryAccountingRightReconcilesNothingWithoutTheBankRight | full |
| phpunit | SecurityGuardsTest::testEveryCapabilityIsBackedByItsOwnNativeRight | full |
| phpunit | SecurityGuardsTest::testGuardLetsThroughAUserHoldingTheNativeBindRight | full |
| phpunit | SecurityGuardsTest::testGuardRefusesEverythingWhenTheNativeAccountingModuleIsOff | full |
| phpunit | SecurityGuardsTest::testGuardReturnsA403PayloadWithoutTheNativeBindRight | full |
| phpunit | SecurityGuardsTest::testTheBalanceControllerAsksForTheLedgerCapability | full |
| phpunit | SecurityGuardsTest::testTheBankRecoControllerAsksForTheBankCapabilitiesOnly | full |
| phpunit | SecurityGuardsTest::testTheBankRightsDoOpenTheBankCapabilities | full |
| phpunit | SecurityGuardsTest::testTheChartControllerAsksForTheChartCapabilityOnEveryRoute | full |
| phpunit | SecurityGuardsTest::testTheChartRightAloneDoesNotOpenTheFiscalYears | full |
| phpunit | SecurityGuardsTest::testTheEntryControllerAsksForTheRightCapabilityOnEveryRoute | full |
| phpunit | SecurityGuardsTest::testTheExportControllerAsksForTheRightCapabilityOnEveryRoute | full |
| phpunit | SecurityGuardsTest::testTheFiscalYearControllerAsksForTheFiscalYearCapability | full |
| phpunit | SecurityGuardsTest::testTheJournalAdminControllerAsksForTheChartCapabilityOnEveryRoute | full |
| phpunit | SecurityGuardsTest::testTheOpeningBalanceControllerAsksForBothNativeRights | full |
| phpunit | SecurityGuardsTest::testTheReassignRouteOpensWithTheBindCapability | full |
| phpunit | SecurityGuardsTest::testTheReportControllerAsksForTheRightCapabilityOnEachRoute | full |
| phpunit | SecurityGuardsTest::testTheReviewControllerSeparatesReadingFromAnnotating | full |
| phpunit | SecurityGuardsTest::testTheSettingControllerAsksForTheChartCapabilityOnEveryRoute | full |
Vidéos de test
Aucune vidéo. Les tests automatiques publient ici la vidéo de référence (succès, une seule fois) et, en cas d'échec, la vidéo d'échec à comparer.
Historique des verdicts
Aucun verdict enregistré.
Discussion
Aucun commentaire pour l'instant.