mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			235 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			235 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|   | 'use strict'; | ||
|  | 
 | ||
|  | const { getService } = require('./utils'); | ||
|  | 
 | ||
|  | module.exports = async () => { | ||
|  |   const { conditionProvider, actionProvider } = getService('permission'); | ||
|  | 
 | ||
|  |   await conditionProvider.clear(); | ||
|  |   await actionProvider.clear(); | ||
|  | }; |