Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
e7699c3
feat: Add initial implementation of audit trails module
itsyaasir Dec 11, 2025
c4f79fb
refactor: Rename module and package from audit_trails_poc to audit_tr…
itsyaasir Dec 11, 2025
f6e7e11
feat: Audit Trails_ Rename move directory and add some folders (#162)
chrisgitiota Dec 12, 2025
e449177
feat: Implement audit trails with role-based access control
itsyaasir Dec 17, 2025
c2b11bd
feat: Introduce locking and record modules for audit trails
itsyaasir Dec 17, 2025
d1d8dc5
First version of permission
chrisgitiota Dec 21, 2025
632d1e7
First version of initial roles config and Admin role Capability creation
chrisgitiota Dec 22, 2025
f5b6b2a
Add missing tests for create AT
chrisgitiota Dec 22, 2025
395a68f
Fixes for the create AT tests
chrisgitiota Dec 22, 2025
713c494
New test test_create_metadata_admin_role() in create_tests.move
chrisgitiota Dec 22, 2025
6cb397b
Fix dprint issues
chrisgitiota Dec 22, 2025
bc512d8
refactor: Rename audit_trails module to main and update locking confi…
itsyaasir Dec 22, 2025
ed79a98
New test for the role-based access control delegation workflow
chrisgitiota Dec 22, 2025
09ae22b
Add access control check for update_metadata()
chrisgitiota Dec 22, 2025
75c8487
Update audit-trail-move/sources/permission.move
chrisgitiota Dec 23, 2025
60f5562
Implementation for the issued_capabilities whitelist management plus …
chrisgitiota Dec 23, 2025
7938050
Merge branch 'feat/audit-trails-api-roles-management' of github.com:i…
chrisgitiota Dec 23, 2025
520eda0
Globally rename 'MetaData' to 'Metadata'
chrisgitiota Dec 23, 2025
e5a71a1
Rename 'create_tests' to 'create_audit_trail_tests'
chrisgitiota Dec 23, 2025
cfb8c84
Rename all Permissions variants and creator functions according to th…
chrisgitiota Dec 23, 2025
ffe4871
Merge branch 'feat/audit-trails-api' into feat/audit-trails-api-roles…
chrisgitiota Dec 23, 2025
600ae26
Rewrite of all LockingConfig creating function calls in Move tests
chrisgitiota Dec 23, 2025
c029e29
Add access control check for AuditTrail.update_metadata() and `delete…
chrisgitiota Dec 23, 2025
09f1a96
Merge pull request #173 from iotaledger/feat/audit-trails-api-roles-m…
itsyaasir Dec 24, 2025
e89679a
Merge pull request #164 from iotaledger/feat/audit-trails-api
itsyaasir Dec 24, 2025
f30459f
Merge branch 'main' into feat/audit-trails-dev
itsyaasir Jan 5, 2026
213ac6b
chore: fmt fixes & add prettier configuration
itsyaasir Jan 5, 2026
71d2dd4
New Capability restrictions: issued_to, valid_until and valid_from
chrisgitiota Jan 5, 2026
d9f7829
Merge branch 'feat/audit-trails-dev' into feat/audit-trails-dev-caps-…
chrisgitiota Jan 5, 2026
a8d084e
chore: Fixed format issues
chrisgitiota Jan 5, 2026
8a5297b
Only revoke cap_to_destroy if they are contained in issued_capabilities
chrisgitiota Jan 9, 2026
a091087
chore: function sig refactor & adding of emitting events
itsyaasir Jan 12, 2026
06d26b9
refactor: update capability permission checks and enhance test coverage
itsyaasir Jan 12, 2026
d55e41b
refactor: improve test readability with consistent formatting
itsyaasir Jan 12, 2026
5f45822
fix: correct typos in permission documentation and improve comments
itsyaasir Jan 13, 2026
d894813
fix: enhance documentation clarity in new_metadata function
itsyaasir Jan 13, 2026
08966a0
refactor: update TrailImmutableMetadata structure and related functio…
itsyaasir Jan 14, 2026
06fac21
refactor: enhance documentation and add role management tests
itsyaasir Jan 14, 2026
446eb4e
Merge pull request #176 from iotaledger/chore/add-events-audit-trails
itsyaasir Jan 14, 2026
1b3ed35
Merge branch 'feat/audit-trails-dev' into chore/make-immutable-md-opt…
itsyaasir Jan 14, 2026
622190b
Merge pull request #178 from iotaledger/chore/make-immutable-md-optional
itsyaasir Jan 14, 2026
650acfe
Merge branch 'feat/audit-trails-dev' into feat/audit-trails-dev-caps-…
chrisgitiota Jan 15, 2026
84e4e82
All existing tests migrated to the latest RoleMap interface
chrisgitiota Jan 16, 2026
fbd271a
Merge branch 'main' into feat/audit-trails-dev-caps-extended
chrisgitiota Jan 16, 2026
cce0159
Removed superfluous "public use fun" statements and function prefixes
chrisgitiota Jan 16, 2026
4afb700
Merge pull request #174 from iotaledger/feat/audit-trails-dev-caps-ex…
chrisgitiota Jan 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@

# ignore folder created in CI for downloaded iota binaries
/iota/
/toml-cli/
/toml-cli/
/audit-trail-move/build
1 change: 1 addition & 0 deletions audit-trail-move/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/*
8 changes: 8 additions & 0 deletions audit-trail-move/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"tabWidth": 4,
"printWidth": 100,
"useModuleLabel": true,
"autoGroupImports": "package",
"enableErrorDebug": false,
"wrapComments": false
}
47 changes: 47 additions & 0 deletions audit-trail-move/Move.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# @generated by Move, please check-in and do not edit manually.

[move]
version = 3
manifest_digest = "86C91D3D3A6313FBF00CE187BE48E5E590F256C0805BBA9F9CA2E5E2C7FBFE71"
deps_digest = "F9B494B64F0615AED0E98FC12A85B85ECD2BC5185C22D30E7F67786BB52E507C"
dependencies = [
{ id = "Iota", name = "Iota" },
{ id = "IotaSystem", name = "IotaSystem" },
{ id = "MoveStdlib", name = "MoveStdlib" },
{ id = "Stardust", name = "Stardust" },
]

[[move.package]]
id = "Iota"
source = { git = "https://github.com/iotaledger/iota.git", rev = "4698c6723208e052a00c74602d2c8dc0efffe5de", subdir = "crates/iota-framework/packages/iota-framework" }

dependencies = [
{ id = "MoveStdlib", name = "MoveStdlib" },
]

[[move.package]]
id = "IotaSystem"
source = { git = "https://github.com/iotaledger/iota.git", rev = "4698c6723208e052a00c74602d2c8dc0efffe5de", subdir = "crates/iota-framework/packages/iota-system" }

dependencies = [
{ id = "Iota", name = "Iota" },
{ id = "MoveStdlib", name = "MoveStdlib" },
]

[[move.package]]
id = "MoveStdlib"
source = { git = "https://github.com/iotaledger/iota.git", rev = "4698c6723208e052a00c74602d2c8dc0efffe5de", subdir = "crates/iota-framework/packages/move-stdlib" }

[[move.package]]
id = "Stardust"
source = { git = "https://github.com/iotaledger/iota.git", rev = "4698c6723208e052a00c74602d2c8dc0efffe5de", subdir = "crates/iota-framework/packages/stardust" }

dependencies = [
{ id = "Iota", name = "Iota" },
{ id = "MoveStdlib", name = "MoveStdlib" },
]

[move.toolchain-version]
compiler-version = "1.14.1-rc"
edition = "2024.beta"
flavor = "iota"
8 changes: 8 additions & 0 deletions audit-trail-move/Move.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "audit_trail"
edition = "2024.beta"

[dependencies]

[addresses]
audit_trail = "0x0"
Loading