Groups, permissions and asset ownership

Move a Roblox game into a group the way studios do: roles and two-step permissions, the ownership transfer and what it closes, which assets break and how to re-own them, and a dedicated deploy account for API keys.

Concept lesson, about 70 minutes, 9 steps

By the end you can

  • Give each person in a Roblox group a role with only the permissions they need, and name the permissions that need two-step verification
  • Transfer an experience to a group and predict what stays the same, what closes and what you must do afterwards
  • Sort Beacon Yard's assets into re-own, check and fine before a transfer, and re-own the wrench swing animation under the group
  • Run deploys from a dedicated account with the smallest role, the way the API key docs recommend

Before this: First publish: private cloud place, API access and Ids.local, Animation: the Animation Editor, Moon Animator, Animator, Rojo and Git day to day

1Whose yard is it?

Open Ids.luau at m14-ship. One comment already describes this lesson:

	-- The wrench swing Animation asset, re-authored in the Animation Editor
	-- with a KeyframeMarker named Impact on the contact frame. It must be
	-- owned by you, or by the group that owns the experience. At 0 the
	-- swing plays no animation and the spark fires on a short timer.
	WRENCH_SWING_ANIMATION = 0,
Figure 1.1

Until now Beacon Yard has belonged to your account. A group is a Roblox account that many people belong to. It can own experiences, assets and Robux, and each member's roles decide what they may do. Creating one costs 100 Robux, from the account switcher in Creator Hub. Roblox will not settle arguments inside a group, so decide who owns it before there is money in it1. When you publish an animation for a group game, the Animation Editor asks you to choose the group as its Creator2.

Stored dataMoving an experience into a group is signing the yard's lease over to a company.
In the pictureIn Roblox
The companyThe Roblox group
The leaseOwnership of the experience: its game id, place ids, URL and revenue
Staff key cardsRoles and their permissions
Tools on your personal tabAssets uploaded under your own account, such as the wrench swing animation

See the whole analogy cast

Moving a game into a group is like signing the yard's lease over to a company. The company holds the lease, staff get key cards that open only some doors, and the business no longer depends on one person.

Think of it as Signing the yard's lease over to a company

Ids.luau says the wrench swing animation must be owned by you, or by the group that owns the experience. Why does that comment mention a group at all?

  1. Because once the game belongs to a group, the animation has to belong to that group too, not to your own account
  2. Because only groups can upload animations
  3. Because animations owned by a user stop working after 30 days
  4. Because Rojo cannot sync an animation id that belongs to a user
Answer

Because once the game belongs to a group, the animation has to belong to that group too, not to your own account. Roblox's Animation Editor tells you to pick the group in the Creator field if the animation will be used in a group-owned game. Beacon Yard's comment is that rule.

Open this step in lesson mode · Link to this step · This confused me

2Roles are key cards

Each role holds a list of permissions. These are the ones a game team uses most, with the names Creator Hub shows1:

PermissionWhat it opens
Playtest experiencesPlay group games before they are public
Edit experiencesEdit group games and assets, and use the Data Stores Manager
Publish experiencesEdit, and also publish to Roblox
Manage experience eventsCreate and edit experience events
Manage monetization for experiencesPasses, developer products, subscriptions
Manage API keysOpen Cloud keys that belong to the group
View group revenue / Manage and spend group revenueSee the balance / also send payouts

Roles are ranked. Manage roles only reaches roles below your own highest role. Five permissions need two-step verification before you can grant them: Manage roles, Assign or remove roles from members, Manage access to this group's resources, Manage and spend group revenue and Delete Data Stores for experiences. Several game permissions can also be given per game, and an individual who is not in a role can be added to a group game only with Play access3.

A group's Roles page: roles ranked on the left, the selected role's permissions on the right.

Which permissions need two-step verification on before you can grant them?

  1. Manage and spend group revenue
  2. Publish experiences
  3. Manage roles
  4. Delete Data Stores for experiences
  5. Manage API keys
Answer

Manage and spend group revenue; Manage roles; Delete Data Stores for experiences. Spending revenue, managing roles and deleting whole data stores are on the list, with assigning roles and managing access to the group's resources. Publish and API keys are powerful too, which is why the next steps keep them on as few accounts as possible.

Beacon Yard's team grows to four people. Match each one to the smallest set of permissions they need.

  1. A builder who works on the yard in Team Create
  2. A deploy account that CI uses to publish
  3. A producer who reads retention and funnels
  4. A community lead who runs Scrap Rush
Answer

A builder who works on the yard in Team Create: Edit experiences; A deploy account that CI uses to publish: Publish experiences; A producer who reads retention and funnels: View analytics for experiences; A community lead who runs Scrap Rush: Manage experience events. Least privilege: give each role what its job needs and nothing more. If an account is stolen, the damage stops at that role.

Open this step in lesson mode · Link to this step · This confused me

3Moving Beacon Yard into the group

The transfer starts in Creator Hub, under the game's Publish Settings > Game details > Initiate ownership transfer. You pick a group you can publish to and type the game's name to confirm. The group side accepts it from the game page4. Before you start:

  • Verify your email address.
  • Upload any private ModuleScripts and InsertService assets to the group, and recreate packages that your account owns.

What happens:

TopicWhat the docs say
When the group acceptsRoblox closes every server and takes away public access. You release the game again afterwards.
What staysThe game id, place ids and URL.
What goesSaved credit card information.
LimitsA request expires after 7 days. A received game cannot move again for 30 days.
MoneyExisting private server subscriptions pay the group, without any revenue split; new ones follow the splits.
DiscoverySearch is unaffected if the title stays the same, but discovery can dip for up to 24 hours after the release.

Revenue now lands in the group, and recurring payouts split it among members (see How Roblox studios work: roles, teams, contracts).

Beacon Yard after the transferYour account hands Beacon Yard to the group, and the group owns the game. Below, the wrench swing animation still points to your account, a deploy bot account belongs to the group, and a builder role edits the game.ownermembereditsYour accountold ownerGroupnew ownerBeacon Yardsame idsSwing animationstill yoursDeploy accountDeploy bot roleBuilderEdit experiences
Figure 3.1. The game moves to the group. The animation stays on your account until you publish it again under the group.

After Beacon Yard moves to the group, which of these are still the same?

  1. Ids.PLACE_ID and Ids.YARD_PLACE_ID
  2. The game's URL
  3. Whether the game is public
  4. The servers that were running before the transfer
Answer

Ids.PLACE_ID and Ids.YARD_PLACE_ID; The game's URL. The game and place ids and the URL stay, so Ids.local.luau keeps working. The servers close and public access is taken away until you release the game again.

Open this step in lesson mode · Link to this step · This confused me

4The tools on your personal tab

Stored dataRemember: Moving an experience into a group is signing the yard's lease over to a company.

Every asset has its own owner, and the transfer does not change it. The asset privacy page sets the rules5: images, decals and meshes are Open Use by default, so any game may use them, unless the owner turned on Asset Privacy before uploading. Restricted assets need the game to be granted permission, and a grant to a game is permanent. Uploaded audio starts private to its owner. For an animation, the Animation Editor asks you to choose the group as Creator when it is for a group game; otherwise its owner has to grant the game access. Answer the question below before you open the breakdown.

Where does it break?“Signing the yard's lease over to a company” is a good picture of moving an experience into a group. Where does it stop being true?

It breaks here. When a building is sold, what is bolted to the floor usually goes with it. On Roblox the lease moves but every asset keeps its own owner, and some things, such as built-in rbxasset files and Open Use meshes, were never on anyone's tab.

The true model. A transfer moves the experience and keeps its game id, place ids and URL. Assets are owned separately: animations, packages and private modules owned by your account are re-owned under the group, Restricted assets need the game's permission, and an API key acts with the access of the account that made it.

Beacon Yard idKindBefore the move
WRENCH_SWING_ANIMATIONAnimationRe-own: publish again with the group as Creator, put the new id in Ids.local.luau
11 *_MESH_ID keysMeshFine if Open Use; check the game's permissions if you turned on Asset Privacy first
15 *_MAP_ID keysImageSame as the meshes
Config.SOUNDSBuilt-in rbxasset:// filesFine: they ship with Roblox and have no owner
Product, pass and badge idsBelong to the experienceCheck under Monetization and Engagement after the move; the transfer page does not list them
	-- Built-in files that ship in Studio's content/sounds folder, so they
	-- need no id. Each kind has a file, a base pitch and a volume.
	SOUNDS = {
Figure 4.1

After the move, the swing animation still belongs to your account. LoadAnimation returns a track, but the animation never loads. This is CombatClient's logic, simplified. What does it print?

local trackReturned = true
local impactReached = false
local function playSwing()
	if trackReturned then
		return if impactReached then "spark on Impact" else "no spark"
	end
	return "spark after fallback"
end
print(playSwing())
  1. no spark
  2. spark on Impact
  3. spark after fallback
  4. An error, because the animation is not owned
Answer

no spark. The server still checks and applies the hit, because fireSwing sends Swing either way. Only the arm motion and the spark are missing, which is easy to miss in a quick test.

Fix the cell so each Beacon Yard asset gets the right action:

Luau
local assets = {
	{ name = "WRENCH_SWING_ANIMATION", kind = "Animation", ownedByGroup = false, openUse = false },
	{ name = "DRONE_BODY_MESH_ID", kind = "Mesh", ownedByGroup = false, openUse = true },
	{ name = "RUST_COLOR_MAP_ID", kind = "Image", ownedByGroup = false, openUse = false },
	{ name = "coin sound", kind = "BuiltIn", ownedByGroup = false, openUse = false },
}
 
local function action(asset)
	-- This draft says everything is fine.
	if asset.kind == "BuiltIn" then
		return "ok"
	end
	return "ok"
end
 
for _, asset in assets do
	print(asset.name, action(asset))
end
Figure 4.2. Run it in the lesson view or in the Studio command bar. The lesson view checks it with tests.

Open this step in lesson mode · Link to this step · This confused me

5Keys and the deploy account

Beacon Yard's deploy workflow reads one Open Cloud key from a GitHub secret:

# It needs three things you create once (see "Deploying" in the README):
#   a repository environment named "production", ideally with required
#     reviewers, so a person approves every deploy
#   secret ROBLOX_API_KEY    an Open Cloud key for your experience
#   secret IDS_LOCAL_LUAU    the whole text of your src/shared/Ids.local.luau
# Secrets belong to the environment, so only a job that runs in production
# can read them, and a pull request from a fork never can.
Figure 5.1

An API key can do whatever the account that made it can do, in every game that account can reach. A transfer can change that. Moving the game to a group you own leaves your access, and your keys, as they were. Moving it to a group you do not own, or losing your role, changes what the key can do4.

The API key docs recommend a dedicated account for automation: invite it to the group, give it a role with only the permissions its job needs, and create the key while signed in as that account. A key that is not used or updated for 60 days expires by itself, and a group key is revoked when the account that made it loses access to the group's keys6. You set up the deploy itself in Deploying with Open Cloud: staging and production.

Beacon Yard now belongs to the group. Which key should go into the ROBLOX_API_KEY secret?

  1. A key made by a dedicated deploy account whose only role is Deploy bot, limited to the scopes deploy.yml needs and to this game
  2. A key from the group owner's own account, so it never loses access
  3. A key from whoever set up CI, with every scope, so it never needs changing
  4. No key: a group-owned game publishes from CI without one
Answer

A key made by a dedicated deploy account whose only role is Deploy bot, limited to the scopes deploy.yml needs and to this game. Narrow account, narrow role, narrow scope. Store the key only in the production environment's secrets, as deploy.yml already does.

Open this step in lesson mode · Link to this step · This confused me

6Who should own the game

Other ways pros do this

OptionWhat it isWhen pros pick itTrade-offs
Your own accountThe experience and its assets belong to you.Solo projects, learning, game jams.Nobody else can manage money or keys; the game leaves when you do.
One group for the studioEvery game sits under one group, with roles and per-game permissions.A team that ships several games with the same people.Roles reach every game unless you use per-game permissions; one owner holds everything.
One group per gameEach game gets its own group, owner and payouts.Games with different partners or revenue splits.More groups to run, and assets must be shared or uploaded in each.

A new team is about to start a game like Beacon Yard. What saves them the most work later?

  1. Create the group first and pick it as Creator for every upload from day one
  2. Upload everything under the lead's account and transfer it all at launch
  3. Make every asset Open Use so ownership never matters
  4. Keep the game on a user account and share that account's password
Answer

Create the group first and pick it as Creator for every upload from day one. Ownership is cheapest to get right on the first upload.

Open this step in lesson mode · Link to this step · This confused me

7Build along: the handover

Build along

m14-ship

  • challenges/work/group_handover.luau
  • challenges/groups-ownership.luau
  • src/shared/Ids.luau
  1. On a new branch from m14-ship in the game repo, open challenges/work/group_handover.luau. Sync with Rojo, press Play, and run game.ServerScriptService.RunGameTests:Invoke("groups-ownership", "groups-ownership") in the command bar on the server.

    You should see Output shows 13 TEST FAIL lines out of 18 and no pass code.

  2. Write action and plan (the table above), needsTwoStep, smallestRole (fewest permissions, then lowest rank) and keyStatus (Disabled, Revoked, Expired, Auto-Expired, Active, in that order). Run the command again.

    You should see All 18 checks print TEST PASS and the Course Runner prints a pass code.

  3. Open your src/shared/Ids.local.luau and sort every non-zero id into re-own, check and fine, using the table. In Creator Hub, open one of your meshes and look at its Asset Access.

    You should see Your Ids.local.luau lists one id to re-own, and you know whether your meshes and maps are Open Use.

  4. If you have a group (or create one for 100 Robux), open Roles and add the two roles. Skip this step if you do not want to spend Robux; the test you just passed covers the same decisions.

    You should see The group has a Builder role with Edit experiences and a Deploy bot role with Publish experiences, both below your own role.

Open this step in lesson mode · Link to this step · This confused me

8Challenges

Level 1, Apprentice

Challenge

Fix action in the asset-actions cell so each Beacon Yard asset gets the right handover action.

Start from
The game at milestone m14 (download)
Check it here
Run the code cell in the lesson view; the challenge completes when it passes. No Studio needed.

Done means

  • Built-in files and assets the group already owns return ok
  • Animations and packages the group does not own return move
  • Open Use meshes return ok, and everything else returns check, so all six assertions in asset-actions pass

Hints

  1. Handle BuiltIn and ownedByGroup first.
  2. Then the move kinds: Animation, Package, Module.
  3. Only Mesh, Image and Decal can be Open Use.
Solution
luau
local assets = {
	{ name = "WRENCH_SWING_ANIMATION", kind = "Animation", ownedByGroup = false, openUse = false },
	{ name = "DRONE_BODY_MESH_ID", kind = "Mesh", ownedByGroup = false, openUse = true },
	{ name = "RUST_COLOR_MAP_ID", kind = "Image", ownedByGroup = false, openUse = false },
	{ name = "coin sound", kind = "BuiltIn", ownedByGroup = false, openUse = false },
}
 
local function action(asset)
	if asset.kind == "BuiltIn" or asset.ownedByGroup then
		return "ok"
	end
	if asset.kind == "Animation" or asset.kind == "Package" or asset.kind == "Module" then
		return "move"
	end
	if (asset.kind == "Mesh" or asset.kind == "Image" or asset.kind == "Decal") and asset.openUse then
		return "ok"
	end
	return "check"
end
 
for _, asset in assets do
	print(asset.name, action(asset))
end

Your group just received Beacon Yard. How many days must pass before the group can transfer it again?

Answer

30 days. 30 days after receiving a game. A transfer request that nobody accepts expires after 7 days.

Level 2, Builder

Challenge

Transfer a practice copy of Beacon Yard to your group and make the swing work again.

Start from
m14-ship, a practice copy published under your account

Done means

  • A practice copy of Beacon Yard is transferred to a group you own and released again
  • The wrench swing animation is published again with the group as Creator, and its new id is in Ids.local.luau
  • In Play, the swing shows the arm motion and the spark lands on the Impact frame

Hints

  1. Use a fresh copy, not a game players use: the transfer closes its servers.
  2. In the Animation Editor's publish dialog, choose the group in the Creator field.
  3. Check the game's Configurations > Permissions page for any Restricted meshes or images.

Level 3, Professional

Challenge

Write the handover checklist a team runs before and after moving a game into a group. The test is on the game repo's main branch; run it with game.ServerScriptService.RunGameTests:Invoke("groups-ownership", "groups-ownership").

Start from
The game at milestone m14 (download)
Grade it
In Studio, press Play, then run game.ServerScriptService.RunGameTests:Invoke("groups-ownership") in the server command bar. Copy the pass code from Output.

Done means

  • challenges/work/group_handover.luau sorts assets into move and check, each list sorted
  • needsTwoStep knows the five two-step permissions, and smallestRole picks the role with the fewest permissions that has them all
  • keyStatus returns Disabled, Revoked, Expired, Auto-Expired or Active in that order
  • The groups-ownership challenge prints TEST PASS for all 18 checks

Hints

  1. Compare owner.kind and owner.id: user 77 and group 77 are different owners.
  2. table.find tells you whether a permission is in a list.
  3. AUTO_EXPIRE_SECONDS is 60 days in seconds; compare now minus lastActivityAt with it.

Open this step in lesson mode · Link to this step · This confused me

9Recap

Retiring the analogy

You no longer need “signing the yard's lease over to a company”. A transfer moves the experience and keeps its game id, place ids and URL. Assets are owned separately: animations, packages and private modules owned by your account are re-owned under the group, Restricted assets need the game's permission, and an API key acts with the access of the account that made it.

Recap

  1. A group owns the game, its assets and its Robux; roles are key cards, and Manage roles, assigning roles, resource access, spending revenue and deleting data stores need two-step verification.
  2. A transfer keeps the game id, place ids and URL, closes every server and needs a new release; a received game cannot move again for 30 days.
  3. Assets keep their own owners: re-own animations, packages and private modules under the group, check Restricted assets, and run deploys from a dedicated account with the smallest role.

Moving an experience into a group is signing the yard's lease over to a company, until when a building is sold, what is bolted to the floor usually goes with it. On Roblox the lease moves but every asset keeps its own owner, and some things, such as built-in rbxasset files and Open Use meshes, were never on anyone's tab.

Next Team workflow: Team Create, Git, reviews, Packages

Open this step in lesson mode · Link to this step · This confused me